永洪社区

标题: 自定义绘图 [打印本页]

作者: yhdata_PA2MMJ9W    时间: 4 小时前
标题: 自定义绘图
自定义绘图,绑定了3个字段,用了下面这段代码,但是提示报错

option = {
  tooltip: {
    formatter: '{a} <br/>{b} : {c}%'
  },
  series: [
    {
      name: 'Pressure',
      type: 'gauge',
      progress: {
        show: true
      },
      detail: {
        valueAnimation: true,
        formatter: '{value}'
      },
      data: [
        {
          value: option.column2,
          name: 'SCORE'
        }
      
    }
  
};







欢迎光临 永洪社区 (http://club.yonghongtech.com/) Powered by Discuz! X3.4