echart的X轴坐标怎么上移

echart的X轴坐标怎么上移,只需修改x轴和Y轴

    xAxis: {
    
    
      position: 'top',
      type: 'category',
      data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
      axisLine: {
    
    
        onZero: false
      }
    },
    yAxis: {
    
    
      inverse: true,
      type: 'value'
    },

如图:在这里插入图片描述
有疑问可以留言,谢谢

猜你喜欢

转载自blog.csdn.net/weixin_41760500/article/details/100542335
今日推荐