饼图如何修改标题颜色以及底下文字标签过长可以用scroll

2023-05-23  本文已影响0人  jesse28
image.png

修改这一块颜色

option = {
      title: {
        text: "",
        subtext: "市民投诉受理情况",
        subtextStyle: {
          color: "#B4E4FF",
        },
        left: "center",
      },
      // 设置列文字排序位置
      legend: {
        type: "scroll",
        bottom: 20,
        orient: "vertical",
        right: 2,
        top: 0,
        textStyle: {
          color: "#fff",
        },
      },
上一篇下一篇

猜你喜欢

热点阅读