You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "MigeruDev (via GitHub)" <gi...@apache.org> on 2026/05/10 12:38:51 UTC
Re: [D] How to set custom colors and specific category order in Bar Chart (Superset 4.1.1)? [superset]
GitHub user MigeruDev added a comment to the discussion: How to set custom colors and specific category order in Bar Chart (Superset 4.1.1)?
You can achieve this directly in the Superset UI without using legacy charts or modifying server-side config files.
For **custom colors**, use the **Dashboard JSON Metadata**:
1. Open your Dashboard and select **Edit Dashboard** > **Edit Properties** (via the three-dot menu).
2. Go to the **Advanced** tab and locate the **JSON Metadata** field.
3. Manually define your mapping in the `label_colors` object:
```json
"label_colors": {
"Category Name A": "#8dbddb",
"Category Name B": "#5864ae"
}
```
GitHub link: https://github.com/apache/superset/discussions/36148#discussioncomment-16869216
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org