1

If I create a line chart with Highcharts and set the minimum value of the y-axes to the smallest value in my data series (0 in the example below), then the points along the y-axes (circled below) are not connected. Is there a way to connect them.

enter image description here

4

2 回答 2

1

一种解决方案是将最小值设置为低于零的值,如下所示:

yAxis: {
    min: -0.1   
}

所以您现在将看到为 0 的值。

并将 startOnTick 设置为 false

于 2013-08-07T10:47:46.920 回答
1

这是已知的 Highcharts 错误:https ://github.com/highslide-software/highcharts.com/issues/1687

按照建议,您可以为 xAxis 设置 lineWidth: 0。

于 2013-08-07T10:50:05.117 回答