Home forums Report Bugs Stacked Area Y-Axis Max Not Correct Reply To: Stacked Area Y-Axis Max Not Correct

#20952

Vishwas R
Keymaster

Paul,

Its not a bug but its due to invalid x-value that has been passed to chart. moment().startOf('d') is not a valid JavaScript date-time object, however moment().startOf('d')._d is valid date-time object. Passing valid date-time object should work fine in your case. Please take a a look at this updated jsfiddle.


Vishwas R
Team CanvasJS