LegendItemTemplate - Color

The new LegendItemTemplate is great, however I was wondering if we can access the color you allocate to each item rather than us having to create a property and store the value?



1 Reply

DG Durga Gopalakrishnan Syncfusion Team February 10, 2026 01:06 PM UTC

Hi Lee,


Greetings from Syncfusion.


We reviewed your requirement and analyzed the scenario in detail. At present, the AccumulationChartLegendInfo class only provides access to the Data and Text properties.

  • The Data property contains a dictionary, which allows you to access the fields defined in the chart’s data source.
  • However, the Color property is not currently available in AccumulationChartLegendInfo, so the point color cannot be accessed directly through the legend information.


Please let us know if you have any concerns.


Regards,

Durga Gopalakrishnan.


Loader.
Up arrow icon