zoukankan      html  css  js  c++  java
  • echarts 设置图例文本不可点击

            legend: [
                  {
                    orient: "horizontal", // 'vertical'
                    x: "68%", // 'center' | 'left' | {number},
                    y: "top", // 'ce
                    itemWidth: 0,
                    itemHeight: 0,
                    data: ["统计单元:"],
                    selectedMode: false, //取消图例上的点击事件
                    textStyle: {
                      fontSize: 12
                    }
                  }],
             series: [
                    {
                      name: "统计单元:",
                      type: "bar"
                    },
                  ]
    
  • 相关阅读:
    例7-13
    例7-11
    例7-1
    例6-5
    例6-3
    例6-2
    例6-1
    例5-9
    例5-8
    例5-7
  • 原文地址:https://www.cnblogs.com/wwj007/p/11387140.html
Copyright © 2011-2022 走看看