效果:
方法:
legend: {
orient: "vertical",
left: "right",
top: "top",
itemWidth: 30,
itemHeight: 16.8,
data: ["满分完成", "审验完成","", "满分未完成", "审验未完成"],
itemGap: 20,
textStyle: {
fontSize: 18,
color: "#d1c6da",
fontWeight: "bold"
}
},
data里的图例中间加一个空的字符串就可实现了。