You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create gradient colors for bars in a mixed chart in Superset 4.0.0 for the metric "test" instead of using a solid color, you can use one of the predefined color schemes that include gradient colors. For example, you can use the "echarts_gradient" scheme. Here is how you can specify it in the JSON metadata:
This will apply the "echarts_gradient" color scheme to the bars for the metric "test". The "echarts_gradient" scheme includes the colors ['#f6EFA6', '#D88273', '#BF444C'], which will create a gradient effect [1].
Unfortunately, this isn't currently supported. You can open an ideas thread in Github Discussions or open a PR/SIP to add support, but I'll close this for now as an Issue since it's not a bug.
How to make bars colors in mixed chart to gradient?
My best shot is add color for my metric "test" in JSON metadata:
"label_colors": {"plan": "#6C8CD5", "test": "#E98F11"},
The text was updated successfully, but these errors were encountered: