0
点赞
收藏
分享

微信扫一扫

windows无源码的情况下修改更新jar包里的class

知年_7740 2024-06-22 阅读 34

看了下使用说明,试了半天终于搞对了

参考文档:Documentation - Apache ECharts

option = {
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      data: [120, 200, 150, 80, 70, 110, 130],
      type: 'bar',
       markArea: {
        itemStyle: {
          color: '#ccc'
        },
        data: [
          [
        {
            name: '两个坐标之间的标域',
            coord: ['Mon']
        },
        {
            coord: ['Mon']
        }
          ],     [
        {
            // name: '两个坐标之间的标域',
            coord: ['Wed']
        },
        {
            coord: ['Wed']
        }
          ],
        ]
      },
    }
  ]
};
举报

相关推荐

0 条评论