Set Label Colors Using Superset API #30965
Replies: 6 comments
-
Currently, there is no documented method to directly set or customize chart colors using the The As a workaround, you might consider setting the |
Beta Was this translation helpful? Give feedback.
-
I agree with Dosu here, I don't think there's a way to do so... but I'll ping @geido here who might know a workaround or something. |
Beta Was this translation helpful? Give feedback.
-
I found a similar issue that was discussed. Currently, there is no direct method to set or customize chart colors using the |
Beta Was this translation helpful? Give feedback.
-
I found a similar issue that was discussed. Currently, there is no direct method to set or customize chart colors using the |
Beta Was this translation helpful? Give feedback.
-
This would be possible if |
Beta Was this translation helpful? Give feedback.
-
So, at the moment, there's no way to manually change the colors of a chart, right? |
Beta Was this translation helpful? Give feedback.
-
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 theq
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 setlabel_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?
Beta Was this translation helpful? Give feedback.
All reactions