VEuPathDB / EdaNewIssues

0 stars 0 forks source link

SAM: legend colors assigned to each value should not change when a value is "checked off" #701

Open danicahelb opened 9 months ago

danicahelb commented 9 months ago

For the screenshots I am using a DIY study (SOD 2006-2012) on QA.clinepi: https://qa.clinepidb.org/ce.b31/app/workspace/maps/EDAUD_29051/new (let me know if you need me to grant you access to this study)

When I uncheck one of the values for the donut marker variable (in the marker config panel), it removes one color from the legend (so it is not changing what values are contributing to "all other values"). this is OK, though perhaps warrants some UX discussion.

the issue is that the legend colors assigned to each value need to be consistent and they are changing

Screenshot of default -- all values are selected, 8 colors (including 1 color for "all other values")

image

Screenshot after removing the most common value in the dataset. Note that colors assigned to remaining values have changed

image

and then when i click to add the removed value back in i get this (legend colors assigned to each value have changed again)

image