option = { "grid": { "bottom": "3%", "containLabel": true, "left": "3%", "right": "4%" }, "legend": { "data": [ "ACTUAL", "ON TARGET BUDGET" ] }, "series": [ { "barWidth": "50%", "data": [ 4435425.0, 2400000.0 ], "itemStyle": { "emphasis": { "barBorderWidth": 1, "shadowBlur": 10, "shadowColor": "rgba(0, 0, 0, 0.5)", "shadowOffsetX": 0, "shadowOffsetY": 0 }, "normal": { "color": "#ED611E" } }, "label": { "normal": { "position": "inside", "formatter": function(a){return a.value.toLocaleString()}, "show": true } }, "markLine": { "data": [ [ { "type": "min" }, { "type": "max" } ] ], "label": { "normal": { "formatter": function(a){return a.value.toLocaleString()}, "position": "middle" } }, "lineStyle": { "normal": { "color": "orange", "type": "dashed" } } }, "name": "", "type": "bar" } ], "toolbox": { "feature": { "saveAsImage": { "show": true } }, "show": false }, "xAxis": [ { "data": [ "ACTUAL", "ON TARGET BUDGET" ], "type": "category" } ], "yAxis": [ { "splitLine": { "show": false }, "type": "value" } ] }