Skip to content

Customise color schema for each chart on dashboard #25623

Discussion options

You must be logged in to vote

You can use the label_colors property in the dashboard JSON metadata.

To access the dashboard JSON metadata, go to Edit dashboard and then click on the three dots in the top right corner and select Edit properties. Expand the ADVANCED section and you will see the JSON METADATA field.

In the JSON METADATA field, add a new section called label_colors. In this section, you can specify the desired colors for each metric/dimension.

like:

{
  "label_colors": {
    "metric_1": ["#FF0000", "#00FF00"],
    "metric_2": ["#0000FF", "#FFFF00"]
  }
}

This will set the color for metric_1 to be red and green, and the color for metric_2 to be blue and yellow.

You can also use the label_colors property t…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@simon-b06
Comment options

@ballyalley-o
Comment options

@simon-b06
Comment options

Answer selected by simon-b06
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants