Highcharts: Ensure y-Axis 0 value is at chart bottom

后端 未结 8 1900
名媛妹妹
名媛妹妹 2021-02-05 02:18

I\'m outputting a series of highcharts on a page. In some instances, all data for the specified time period may come back with 0 values.

In such a case, the chart looks

8条回答
  •  轮回少年
    2021-02-05 02:54

    minRange : 1 or whatever you feel so to be displayed in fractions of
    softMax : 100 or whatever you feel so

    yAxis: {
             minRange : 1,
             softMax: 100
           }
    

提交回复
热议问题