RadLegend disable single items for Legend

1 Answer 81 Views
Chart
Nico
Top achievements
Rank 1
Veteran
Iron
Nico asked on 17 Aug 2021, 09:24 PM
Is it possible to hide certain series in the legend e.g. when they have no series data in it?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Aug 2021, 11:39 AM

Hello Nico,

I am afraid currently it is not possible to control what series will be shown in the Legend, we have a feature request in our feedback portal on the requested functionality, you can cast your vote and track its status at the link below:

Chart: Allow series to be excluded from the Legend

The only workaround I can suggest you is to add and remove the series from code behind instead of setting the ItemsSource of the series to null.

Regards,
Yana
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Chart
Asked by
Nico
Top achievements
Rank 1
Veteran
Iron
Answers by
Yana
Telerik team
Share this question
or