1.鼠标画华商这种交互取消:
2.字体居中
title: [
{
text: "{name|" + title + "}\n{val|" + used + "GB" + "}",
top: "center",
left: "center",
textStyle: {
rich: {
name: {
fontSize: 12,
fontWeight: "normal",
color: "#999999",
padding: [8, 0]
},
val: {
fontSize: 18,
fontWeight: "bold",
color: "#ff3c00"
}
}
}
},
{
text: "",
top: 20,
left: 20,
textStyle: {
fontSize: 14,
color: "#666666",
fontWeight: 400
}
}
],
3.给legend设置宽度