Incubator-superset: Allowing users to alter the colour scheme

Created on 17 Jun 2016  路  5Comments  路  Source: apache/incubator-superset

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?

.ui request

Most helpful comment

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:

All 5 comments

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.

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:

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.

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?

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dinhhuydh picture dinhhuydh  路  3Comments

josephtyler picture josephtyler  路  3Comments

gbrian picture gbrian  路  3Comments

ylkjick532428 picture ylkjick532428  路  3Comments

ghost picture ghost  路  3Comments