option = {
    xAxis: {
        position: 'top',
        type: 'category',
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
        axisLine: {
            onZero: false
        }
    },
    yAxis: {
        inverse: true,
        type: 'value'
    },
    series: [{
        data: [100, 300, 500, 700, 290, 630, 520],
        type: 'bar'
    }]
};

效果图: 测试地址:http://echarts.baidu.com/examples/editor.html?c=bar-polar-stack

echarts X轴固定在上方

相关文章:

  • 2022-12-23
  • 2021-08-19
  • 2021-05-04
  • 2021-10-22
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2021-11-20
  • 2021-10-26
  • 2022-12-23
相关资源
相似解决方案