superset icon indicating copy to clipboard operation
superset copied to clipboard

Allowing users to alter the colour scheme

Open apitts opened this issue 10 years ago • 5 comments

The default colours appear to be very close together in some instances so that it is hard to tell series apart...I'm looking at a bubble chart in particular. Perhaps we could set the colours in config.py or edit them in the app?

apitts avatar Jun 17 '16 04:06 apitts

I'm ok with it, though it's on the javascript side and we use webpack to pre-process the javascript, meaning you would have to run your own build. Unless someone can think of other ways.

mistercrunch avatar Jun 18 '16 01:06 mistercrunch

The ideal would be to use react color pickers on the legend and then store rgba strings as part of the slice data. The existing legend click functionality could then be applied to the text in the legend rather than color circle. But that's a lot of work and I suspect not a priority. I'll add the config.py change to my long list :smile:

apitts avatar Jun 18 '16 02:06 apitts

This is especially an issue for colorblind users. The hover legend is often the only way I can make sense of stacked graph. It may be possible to automatically choose from one of a few different palettes, as there are several different forms of colorblindness with well-documented methods (like daltonizing) to improve legibility, but allowing users to create custom palettes would be sufficient. It would be ideal to implement this in a way that's persistent for a given client across dashboards, so it's not necessary to customize every single page.

csnook avatar Mar 21 '17 19:03 csnook

Has there been any update to this topic? I'm new to the project and trying to do a POC. I need to have different color schemes in each slice. Is that possible?

jxb45 avatar Apr 10 '17 19:04 jxb45

@JImBurris AFAICT nobody opened a PR doing the changes required, feel free to be the one that does it :)

xrmx avatar Apr 11 '17 07:04 xrmx