Series and individual points are highlighted when hovered or tapped.
You can customize or disable the highlight effect by using configuration settings.
Customizing the Appearance
The type of highlight effect varies by series type. For example, Bar Charts change the fill color and Line series draw an overlay over the markers.
For a Specific Series
To customize the highlight appearance, assign a configuration object to the
highlight attribute on a series item.
To apply the highlight settings to all series, use the kendo-chart-series-defaults component.
For All Series
Disabling the Highlight
To disable the highlight for a series item, set
By default, the highlight effect is applied only to the hovered (or
"active") series. To make the effect more pronounced, the Chart allows to set the opacity of all other series with
To set the inactive opacity for all series, use the kendo-chart-series-defaults component.
Toggling the Highlight With Code
To toggle the highlight of a series point, call the
In the following example, the filter callback is evaluated for each data point. If the function returns
true, the point is highlighted.
Customizing the Toggle Function
To override the default highlight behavior, define a
toggle event handler. The function is executed both when displaying and hiding the highlight as indicated by the
show event argument.
To disable the default highlight behavior, call the
The following example demonstrates how to override the default highlight effect for the Column series.
Customizing the Highlight Visual
To draw a custom highlight overlay, define a
visual function. The function is expected to return a drawing element that will be automatically destroyed when the highlight is toggled off.
The following example demonstrates how to draw a highlight overlay for the Area series.
Support and Learning Resources
- Chart Series Highlight Homepage
- Getting Started with the Kendo UI for Angular Chart
- API Reference of the Chart
- Chart Area
- Error Bars
- Plot Area
- Plot Bands
- Getting Started with Kendo UI for Angular (Online Guide)
- Getting Started with Kendo UI for Angular (Video Tutorial)
- Virtual Classroom (Training Courses for Registered Users)
- Chart Forum
- Before You Start: All Things Angular (Telerik Blog Post)
- Knowledge Base