• 柱状echarts 自定义图例设置


      legend: {
              // 图例
              orient: 'vertical',
              left: 'right',
              icon: 'circle',
              data: this.legendData,
              formatter: name => {
                return `{a|${this.chartData.find(item => item.name === name)
                  ?.value || 0}台} {b|${name}}`
              },
              textStyle: {
                rich: {
                  a: {
                    fontSize: 20,
                    color: '#25355',
                    fontWight: '600',
                    verticalAlign: 'top',
                    padding: [0, 0, 10, 0],
                  },
                  b: {
                    fontSize: 14,
                    color: '#A3AEC1',
                    fontWeight: 500,
                  },
                },
              },
            },
  • 相关阅读:
    详解Go变量类型的内存布局
    saltstack手册(含官方pdf)
    Linux之《荒岛余生》(三)内存篇
    linux之网络
    Linux之IO
    【WPF】提高InkAnalyer手写汉字识别的准确率
    mssql 小技巧
    WCF Data Service
    jQuery基础之选择器
    Window程序的安装与部署
  • 原文地址:https://www.cnblogs.com/Serendipity-zly/p/12766967.html
Copyright © 2020-2023  润新知