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

   I am using Superset's API to download individual charts through the 
`/api/v1/chart/{pk}/cache_screenshot/` endpoint. Currently, I can specify 
parameters such as the chart ID (`pk`) and the dimensions for the download. 
However, I would like to know if there is a way to set or customize the chart's 
colors when downloading it (perhaps using the `q` parameter?).
   
   In my dashboard, I define label colors using the `label_colors` attribute in 
the dashboard's JSON metadata. I would like to somehow leverage this 
configuration from my dashboard so that the colors are preserved when 
downloading a specific chart from a specific dashboard. If this is not 
possible, I would like to set `label_colors` for a specific chart and ensure it 
remains consistent.
   
   Is there any way to set label colors directly when downloading an individual 
chart, either by configuring them beforehand or passing them as a parameter to 
the endpoint? If not, are there any recommended alternatives or solutions to 
achieve this?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to