vico
vico copied to clipboard
Order of persistent marker is ignored
How to reproduce
Add two persistent marker to one chart that overlap.
Observed behavior
The order of the markers is not preserved from the original map.
Expected behavior
I would like to control the order of the markers by the order of the map I put into the chart.
Vico version(s)
1.15.0
Android version(s)
All
Additional information
I have looked down into BasicChart
and found that the holder for persistent markers is a HashMap
. By changing it to a LinkedHashMap
the expected behavior could be achieved.