- Issue created by @stefan.korn
- Merge request !162Issue #3535784: Color Changer - only valid for Highcharts? β (Open) created by stefan.korn
- π©πͺGermany stefan.korn Jossgrund
see MR for possible solution
I am not sure about the color changer setting in the default configuration at admin/config/content/charts.
This comes from here: https://git.drupalcode.org/project/charts/-/blob/5.1.x/src/Element/BaseS...
But I am not sure why it is separately injected there and not used from here as well: https://git.drupalcode.org/project/charts/-/blob/5.1.x/src/Element/BaseS... , which would be possible as far as I can see.
- πΊπΈUnited States andileco
I agree we shouldn't show that button if it's not applicable. I would be interested in a setting/property on libraries where they can define whether or not they support this option, and then if they don't, that's what determines if the checkbox shows or not.
By the way: the color-changer code isn't part of any library - it's custom to this module - so I would like to actually add the color changer on more libraries as a longer-term goal.
- π©πͺGermany stefan.korn Jossgrund
Yes, setting based on library support would be the best.
And thanks for the info about the color changer and future plans.