You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "srinichalla9 (via GitHub)" <gi...@apache.org> on 2023/02/09 06:57:41 UTC

[GitHub] [superset] srinichalla9 opened a new issue, #23045: Adding custom color palettes/ Color themes to Charts and Branding in Superset

srinichalla9 opened a new issue, #23045:
URL: https://github.com/apache/superset/issues/23045

   Hi team,
   
   I've a requirement to customize the legends' colors in Pie Charts and also needs to change the font size and colors for headers and titles as per our organization standards for our superset instance.
   
   By default I could see a limited color schemes for Pie Charts, but I wanted to change the legend colors for categories as per our standard color codes and similarly fonts formatting as well.
   
   ![image](https://user-images.githubusercontent.com/117988954/217739684-45e740f4-0824-4607-a423-2a94f8f4e454.png)
   
   
   
   Could you please guide me on this requirement.
   
   Please let me know if you have any questions.
   
   Thanks,
   Srini


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] hxj8059 commented on issue #23045: Adding custom color palettes/ Color themes to Charts and Branding in Superset

Posted by "hxj8059 (via GitHub)" <gi...@apache.org>.
hxj8059 commented on issue #23045:
URL: https://github.com/apache/superset/issues/23045#issuecomment-1545619031

   > You can specify your custom color scheme in config.py (or superset_config.py.) Then when you edit a dashboard your color scheme will appear in the dropdown list. <img alt="Screenshot 2023-04-13 at 12 15 10" width="850" src="https://user-images.githubusercontent.com/36771748/231713986-f82eca7b-2e53-4442-83e0-f5e586cadf0c.png">
   
   Hi, do I need restart superset after add color schemes?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] irina-popov commented on issue #23045: Adding custom color palettes/ Color themes to Charts and Branding in Superset

Posted by "irina-popov (via GitHub)" <gi...@apache.org>.
irina-popov commented on issue #23045:
URL: https://github.com/apache/superset/issues/23045#issuecomment-1506631764

   You can specify your custom color scheme in config.py (or superset_config.py.) Then when you edit a dashboard your color scheme will appear in the dropdown list.
   <img width="850" alt="Screenshot 2023-04-13 at 12 15 10" src="https://user-images.githubusercontent.com/36771748/231713986-f82eca7b-2e53-4442-83e0-f5e586cadf0c.png">
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Adding custom color palettes/ Color themes to Charts and Branding in Superset [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #23045:
URL: https://github.com/apache/superset/issues/23045#issuecomment-1967492470

   Yep, you need to restart Superset after any config change. Hopefully this is all settled, but otherwise closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering issues in current versions (currently 3.x) please open a new Issue or a PR to address the problem.  
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Adding custom color palettes/ Color themes to Charts and Branding in Superset [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #23045: Adding custom color palettes/ Color themes to Charts and Branding in Superset
URL: https://github.com/apache/superset/issues/23045


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] shalnice commented on issue #23045: Adding custom color palettes/ Color themes to Charts and Branding in Superset

Posted by "shalnice (via GitHub)" <gi...@apache.org>.
shalnice commented on issue #23045:
URL: https://github.com/apache/superset/issues/23045#issuecomment-1446553050

   Hello @srinichalla9 
   
   To force specific colors on the chart legends, you do it via JSON metadata in the << Edit dashboard properties >>. Please refer to tutorial below on how to do it : https://www.youtube.com/watch?v=AMC-WOgSBBg
   
   As for the header, i believe the only way to do it to modify the CSS template. Try the following code : 
   
   .dashboard-component-header {
     color: white;
     background : blue;
     text-align : center;
     font-size : 20px;
     font-family : sans-serif;
   }
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org