ZoomCharts Documentation

Version: 1.21.3 (2025-04-07)
Switch to Version 2.0 (BETA)

Navigation

Using the Pie Chart, users can navigate the whole data set.

There are two kinds of navigation:

Drilldown

By default clicking on slice will expand it and open up a new level in the pie chart. The Pie Chart will request new data and display the new pie and move previous pie to the center of the chart.

To return to previous level, simply click on the center of the chart.

The slice will be be expanded if:

You can expand a slice programmatically by calling chart.expandSlice(slice).

Next / Previous

Navigation by pages is performed by clicking on special "Others" and "Previous" slices that act list page flipping buttons.

This feature is controlled by settings.interaction.others section in settings. It has the following values:

Navigation by API

The API method chart.setPie(["rooId", "sublevel1Id", "sublevel2Id"], offset) allows to change current state programmatically. The first parameter is an array of pie identifiers. Second parameter is paging offset if the active pie.

Opening an URL

Set slice.url value to open an URL when clicking on the slice.

Initial state

Several settings determine the initial pie display.

Note that this is incompatible with data.autoCategories.

X