option = { "tooltip": { "trigger": "axis", "triggerOn": "click", "confine": true, "axisPointer": { "label": { "show": true, "backgroundColor": "#FFF", "textStyle": { "color": "#38acff", "fontSize": 10.666666666666666 }, "shadowBlur": 2, "shadowColor": "#fff", "padding": [14.933333333333332, 0, 0, 7] }, "type": "line", "axis": "x" }, "textStyle": { "fontSize": 10.666666666666666 } }, "grid": { "left": "4%", "top": 60, "right": "4%", "bottom": "7%", "containLabel": true }, "legend": [{ "data": ["住宅", "商办", "车位", "其他"], "textStyle": { "color": "#9d9eb1", "fontSize": 10.666666666666666 }, "left": 12.666666666666666, "top": "auto", "itemWidth": 10.666666666666666, "itemHeight": 10.666666666666666 }], "xAxis": [{ "type": "category", "data": ["南方区域", "上海区域", "北京区域", "中西部区域"], "axisPointer": { "type": "shadow" }, "axisTick": { "show": false }, "axisLine": { "lineStyle": { "color": "#d8d8e0" } }, "axisLabel": { "color": "#9d9eb1", "fontSize": 10.666666666666666, "margin": 10.666666666666666, "interval": 0 } }], "yAxis": { "name": "(亿)", "nameTextStyle": { "fontSize": 10.666666666666666, "color": "#999", "padding": [0, 30, 0, 0] }, "type": "value", "splitNumber": 3, "axisLabel": { "fontSize": 10.666666666666666, "color": "#9d9eb1" }, "axisTick": { "show": false }, "splitLine": { "lineStyle": { "type": "dashed" } }, "axisLine": { "show": false } }, "series": [{ "name": "住宅", "type": "bar", "barWidth": 17.066666666666666, "barGap": "30%", "barCategoryGap": "20%", "barMinHeight": 20, "stack": "stack", "yAxisIndex": 0, "data": ["5", "49", "30", "19"], "itemStyle": { "normal": { "borderWidth": 3 }, "emphasis": { "borderWidth": 3 } }, "lineStyle": { "normal": { "width": 1.5 } } }, { "name": "商办", "type": "bar", "barWidth": 17.066666666666666, "barGap": "30%", "barCategoryGap": "20%", "barMinHeight": 20, "stack": "stack", "yAxisIndex": 0, "data": ["2", "55", "34", "16"], "itemStyle": { "normal": { "borderWidth": 3 }, "emphasis": { "borderWidth": 3 } }, "lineStyle": { "normal": { "width": 1.5 } } }, { "name": "车位", "type": "bar", "barWidth": 17.066666666666666, "barGap": "30%", "barCategoryGap": "20%", "barMinHeight": 20, "stack": "stack", "yAxisIndex": 0, "data": ["4", "52", "43", "15"], "itemStyle": { "normal": { "borderWidth": 3 }, "emphasis": { "borderWidth": 3 } }, "lineStyle": { "normal": { "width": 1.5 } } }, { "name": "其他", "type": "bar", "barWidth": 17.066666666666666, "barGap": "30%", "barCategoryGap": "20%", "barMinHeight": 20, "stack": "stack", "yAxisIndex": 0, "data": ["3", "30", "20", "10"], "itemStyle": { "normal": { "borderWidth": 3 }, "emphasis": { "borderWidth": 3 } }, "lineStyle": { "normal": { "width": 1.5 } } }], "color": ["#38ACFF", "#FDC367", "#E667FD", "#6AD9C3", "#9AA1F2"] }
世人的悲欢并不相通,我只是觉得他们吵闹。