You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/07/26 16:13:09 UTC

[GitHub] mistercrunch commented on issue #2524: Are there any ways to set the color for the chart specifically

mistercrunch commented on issue #2524: Are there any ways to set the color for the chart specifically
URL: https://github.com/apache/incubator-superset/issues/2524#issuecomment-318103567
 
 
   It'd be nice to support different color schemes, and allow people to pick a default in their environment. It would also be nice to make "Colors" one of the core set of controls, cohesive across visualizations, but that's a bit more complicated.
   
   For now the categorical colors are defined here:
   https://github.com/apache/incubator-superset/blob/master/superset/assets/javascripts/modules/colors.js#L6
   
   A first step might be to define an object with different color sets, and add a new control to most visualizations that would allow to pick the color set. And add a new `DEFAULT_COLOR_SET` variable in `superset/config.py`.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services