Echarts 中当y轴有负数时,让x轴下落在y轴最小值(转载)

 

来源:https://www.cnblogs.com/aknife/p/13278009.html

xAxis: {
                        type: 'category',
                        name:"Time(S)",
                        boundaryGap: false,
                        data: result.xAxisArry,
                        axisLine: {
                            onZero: false    //-----------重点
                        }
                    },

  

posted @ 2020-12-22 11:41  hao_1234_1234  阅读(2108)  评论(0编辑  收藏  举报