47
Views
2
Comments
How to add custom colors for column chart legend data points?
Application Type
Reactive

I have a stacked column chart with legends with data points below it. I want to add custom colors to the legends data points. How can I achieve this?


2024-12-02 13-16-47
Vipin Yadav

Hi,

To customize the colors of legend data points in a stacked column chart , you can follow these steps: 

1. Add a new field in your data structure to store the color information for each series or data point. 

For example: 

LegendColor: This field will hold the hex color codes (e.g., #FF5733).

2.In the Chart DataPoint List, map your data source (Aggregate or Static Entity) and include the custom color field (LegendColor). 

3.Assigne these value in the chart.

I have added below post link please check -


https://www.outsystems.com/forums/discussion/101123/not-getting-expected-colors-for-chart-legends/

Thanks,

Vipin Yadav

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.