option = { "title": { "text": "四象限", "subtext": "" }, "grid": { "left": "3%", "right": "3%", "bottom": "3%", "containLabel": true }, "tooltip": { "trigger": "item" }, "brush": {}, "legend": { "data": ["地区"], "left": "center" }, "xAxis": [{ "type": "value", "min": -50, "max": 50, "axisLabel": { "formatter": "{value} %" }, "splitLine": { "show": false }, "axisTick": false, "axisLine": { "show": false }, "splitNumber": 8 }], "yAxis": [{ "type": "value", "min": 0, "max": 200, "axisLabel": { "formatter": "{value}%" }, "splitLine": { "show": false }, "axisTick": false, "splitNumber": 10 }], "series": [{ "type": "scatter", "label": { "show": true, "formatter": "{a|收入达标,折让率无空间}\n(低质高折让收入替换)", "backgroundColor": "#eee", "borderColor": "rgb(199,86,83)", "borderWidth": 1, "borderRadius": 10, "padding": 10, "color": "#000", "fontSize": 14, "shadowBlur": 3, "shadowColor": "#888", "lineHeight": 30, "rich": { "a": { "fontSize": 15, "color": "rgb(199,86,83)" } } }, "data": [ [40, 180], [-40, 180], [-40, 20], [40, 20] ] }] };