This is a migrated thread and some comments may be shown as answers.

Show values in RadLegend

2 Answers 78 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Heiko
Top achievements
Rank 1
Iron
Veteran
Heiko asked on 23 Mar 2020, 01:03 PM

Short question: is there a way to display the values of my datapoints in RadLegend besides the title? What I like to see is something like this:

coloured_rectangle -- DataPoint-Value -- DataPoint-Label

Regards
Heiko

2 Answers, 1 is accepted

Sort by
0
Heiko
Top achievements
Rank 1
Iron
Veteran
answered on 23 Mar 2020, 01:53 PM

Ok, I found a solution by binding the RadLegend to a LegendItemCollection where I set the Title by myself.

Next question: my chart has its Palette-property set to "Fluent". How can I set the MarkerFill of my LegendItemCollection to the corresponding palette entries?

Regards
Heiko

0
Vladimir Stoyanov
Telerik team
answered on 26 Mar 2020, 11:02 AM

Hello Heiko,

Please, find a sample project attached which demonstrates a possible way of achieving the desired functionality by using the ItemTemplate of the RadLegend. Do check it out and let me know, if it helps. 

I am looking forward to your reply.

Regards,
Vladimir Stoyanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ChartView
Asked by
Heiko
Top achievements
Rank 1
Iron
Veteran
Answers by
Heiko
Top achievements
Rank 1
Iron
Veteran
Vladimir Stoyanov
Telerik team
Share this question
or