-1👍
Perhap you could give each of your dynamic datapoints an index, and then use css z-index
to change the order of each individual index?
It seems like you can add custom properties to data in ChartJS. (I’ve not used it before but I’ve done something similar using Chartist)
- Chartjs-How do I persist the gridlines for ticks that are not displayed? [Chart.js]
- Chartjs-How to create dataset in chart.js dynamically using array?
Source:stackexchange.com