晴空霹雳一声响,美工又来难为我王某人。
这是美工设计的:
这是最终实现的:
上代码~~~
function echarts01(){
var echarts01 = echarts.init(document.getElementById('echarts01'));
echarts01.clear()
var names= ["医疗", "金融", "零售", "交通", "娱乐","教育","制造","农业"]
var values= [390, 512, 480, 600, 390,512,480,600]
var colorArray = ['#1e50f3', '#18c3ee', '#44eabd', '#10c643','#fbce44','#d218ee','#f9896b','#ff4403'];
var myShape = {
x: 0,
y: 0,
width: 13, //间距
};
// 绘制左侧面
var InclinedRoofBar = echarts.graphic.ex