New to Kendo UI for Angular? Start a free 30-day trial

Creating Charts with Drill-Down Support

Environment

ProductProgress® Kendo UI for Angular Chart

Description

How can I create a Chart with a drill-down functionality?

Solution

  1. Handle the SeriesClickEvent to retrieve the required subset of data items.

  2. Render a new Chart which uses the retrieved data subset by using either of the following approaches:

  • Use the *ngIf structural directive to render a new chart.
  • Update the data of the current chart.

The following examples show the full implementation of the suggested approaches.

Using a Column Chart

Example
View Source
Change Theme:

Using a Pie Chart

Example
View Source
Change Theme: