饼图如何修改标题颜色以及底下文字标签过长可以用scroll
2023-05-23 本文已影响0人
jesse28
![](https://img.haomeiwen.com/i12429965/ff85a1f562e4e260.png)
修改这一块颜色
option = {
title: {
text: "",
subtext: "市民投诉受理情况",
subtextStyle: {
color: "#B4E4FF",
},
left: "center",
},
// 设置列文字排序位置
legend: {
type: "scroll",
bottom: 20,
orient: "vertical",
right: 2,
top: 0,
textStyle: {
color: "#fff",
},
},