Version
5.6.0
Link to Minimal Reproduction
https://jsfiddle.net/adn0qyzj/
Steps to Reproduce
- Create line graph with time axis
- Create serie with
step option set to end
- 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.
Environment
- OS: Windows 10
- Browser: Firefox 133
- Framework: none
Any additional comments?
Version 4.7.0 is also affected by this.
Version
5.6.0
Link to Minimal Reproduction
https://jsfiddle.net/adn0qyzj/
Steps to Reproduce
stepoption set toendstepoption is reversed... or open reproduction link and observe differences between series.
Current Behavior
Order of timestamps in
serie.dataarray reverse thestepoption behaviour fromendtostartand 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.dataarray.Environment
Any additional comments?
Version 4.7.0 is also affected by this.