echarts的series属性

series: [{
      barWidth:26,// 柱形宽度(折线图无)
      name: '',// legend对应的名称
      type: 'bar',// 图形类型
      stack: 'TUE',// 若多个值一样,则堆叠到一起
      data: [1,1,1,11],// 数值
      smooth: true, // 线条平滑展示,折线图起作用
      areaStyle: {},// 面积填充,折线图有效
      emphasis: {// 高亮
          label: {
              show: true,
              textStyle: {
                  color: '#333333',
                  fontWeight: 'bold'
              }
          }
      }
  }]

 

posted @ 2020-07-08 17:51  pyx204  阅读(26805)  评论(0)    收藏  举报