You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add data points for the serie in descending order (latest value first)
Line is rendered correctly but step option is reversed
... or open reproduction link and observe differences between series.
Current Behavior
Order of timestamps in serie.data array reverse the step option behaviour from end to start and vice versa on time axis. Timestamp order should not have affect to this because order of the data point is always from first to last.
Expected Behavior
Order of datapoints should not affect rendering of stepped lines.
Workaround for this is obvious: reverse the serie.data array.
Version
5.6.0
Link to Minimal Reproduction
https://jsfiddle.net/adn0qyzj/
Steps to Reproduce
step
option set toend
step
option is reversed... or open reproduction link and observe differences between series.
Current Behavior
Order of timestamps in
serie.data
array reverse thestep
option behaviour fromend
tostart
and vice versa on time axis. Timestamp order should not have affect to this because order of the data point is always from first to last.Expected Behavior
Order of datapoints should not affect rendering of stepped lines.
Workaround for this is obvious: reverse the
serie.data
array.Environment
Any additional comments?
Version 4.7.0 is also affected by this.
The text was updated successfully, but these errors were encountered: