vico icon indicating copy to clipboard operation
vico copied to clipboard

Order of persistent marker is ignored

Open fax-sma opened this issue 6 months ago • 4 comments

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.

fax-sma avatar Aug 21 '24 14:08 fax-sma