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
I've found another (and very simple) solution:
You can set y-axis minRange property:
minRange
yAxis: { ... minRange : 0.1 }
This makes Highcharts render yAxis min and max values when all data is 0.
UPDATE:
Highcharts 4.1.9 fix also needs:
plotOptions: { line: { softThreshold: false } }
updated js fiddle