Completed
Last Updated: 20 Sep 2021 15:05 by ADMIN
Prabin
Created on: 03 Apr 2013 18:46
Category: Kendo UI for jQuery
Type: Feature Request
1
Provide means to specify if a legend item needs to displayed or not
Provide means to specify if a legend item needs to displayed or not, either through a configuration API which can take a condition on the value / series, or through an event when the legend is being added. This will make it easy to manipulate the legends that are displayed. Additionally, having an event to hook into, can also provide means to add custom functionality, like click handling, to the legend items.
1 comment
ADMIN
T. Tsonev
Posted on: 20 Sep 2021 15:04

Hi,

It's possible to override the appearance of each individual item through legend.item.visual. Returning undefined will hide the item.

The Chart fires legendItemClick, legendItemHover and legendItemLeave events.

Regards,
T. Tsonev
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.