Kendo Chart legend customization options

1 Answer 74 Views
Charts
Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
Vedad asked on 16 Jan 2023, 04:19 PM

Hi,

I have been using kendo ui charts, and in one of pages I have fixed limited space for whole chart area (chart + legend).

Unfortunately, sometimes, dataset for this chart has a lot of elements (30-50) and legend is simply too big (regardless of position, it doesn't fit together with chart in designated space). 

Is there a way to customize legend (to limit its area and have only that area with scrollbar (if I put it right or left), or can I load legend elements in dropdown, so it can be extended if needed?

Any suggestions how to handle this?

Thank you

Regards,

Vedad

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 19 Jan 2023, 10:31 AM

Hello Vedad,

As part of an SVG, the Chart legend cannot be in a scrollable container or inside a DropDownList. Having said that, the only possible workaround is to implement an external legend, as demonstrated in the following article:

Regards,
Nikolay
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
Charts
Asked by
Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
Answers by
Nikolay
Telerik team
Share this question
or