You must be logged in to post your query.
Home › Forums › Report Bugs › Stacked Area Y-Axis Max Not Correct
Tagged: stacked area yaxis maximum
Given a stacked area graph with 5 series, leaving the y-axis maximum as default (automatic) does not sum up the max Y values, only uses the largest one.
If I have 5 series with value each (1,2,3,4,5), the y-axis max is 6, however, the actual max should be at least 15.
Here is a fiddle to reproduce https://jsfiddle.net/tLjx4x1b/1/
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.
moment().startOf('d')
moment().startOf('d')._d
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register