Hi CanvasJS-Team,
We have a problem with column-chart. Here’s an example
http://jsfiddle.net/wj06b7sk/
This doesn’t look nice. The Y-Axis should start with 0
Fix:
Function Axis.prototype.calculateAxisParameters
Change the checks near rangePadding in else-case
Old:
if (min !== 0)
min -= rangePadding;
Better:
if (min !== 0 && !(min > 0 && min – rangePadding < 0 ))
min -= rangePadding;
I’m not sure, that this general change is fine, as this maybe does not make sense in other chart-types…
I think this behavior changed with the multiple-axes system.
Before that, it started (like it should) with 0
Please take a look.
Thanks!