When trying to set my yAxis
to logarithmic
type on a Waterfall
chart, Highcharts throws the following error.
Error 10 : Can't plot zero or subzero values on a logarithmic axis
I've tried setting pointStart: 1
in my series, also tried to set yAxis.min=1
, but I still have the issue.
I have negative values in the data, but it should not matter on a mathematical point of view (Btw, it also does not work with only positive values).
Minimal code to reproduce the error: http://jsfiddle.net/1d2zsvLf/3/
Direct code:
$(function() {
$('#container').highcharts({
chart: {
type: 'waterfall'
},
yAxis: {
type: 'logarithmic',
// min: 1
},
series: [{
data: [2000, 23, 36, 12, -4, -6, -32, 1500],
// pointStart: 1
}]
});
});