Touch UI / Charts

  Pie Chart

Table of Contents
Touch UI / ChartsPrint||
Pie Chart

The “pie” chart type is rendered as a circle. Each data point is displayed as a slice out of the circle. This chart type is useful to show the size of values relative to one another. One example may be the number of orders made by each employee – the largest slice of the pie is taken by the employee who made the most orders.

To use “column” chart type, add the keyword “column” to any “pivot-” tag, and make sure that it is separated with hyphens (-).

Data Field Tag
EmployeeID pivot1-row1-pie

A pie chart showing the relative size of orders made by each employee.

The data for the chart can be seen below.

The data showing count of orders by employee.

If the slice is large enough, the percentage value is displayed. Hovering over or clicking on a slice will reveal the data.

The tooltip displaying the value is rendered when hovering over or clicking on a slice of the pie.

If there are too many slices, the chart may become unreadable to the users. Use “topX”, sort the row values, and enable “Other” row to ensure that only the largest X number of slices are displayed, and the rest are collapsed.

Data Field Tag
EmployeeID pivot1-row1-pie-top5-other-sortbyvalue

The pie chart shows top 5 sorted values, with the rest being grouped under "Other".

The sorted top five rows and “Other” row can be seen in the data below.

The data for the pie chart that shows top 5 values, with the rest grouped under "Other" row.

The pie can also be rendered as a 3D pie by using the “pie3d” chart type instead.

Data Field Tag
EmployeeID pivot1-row1-pie3d

The pie chart has been rendered as a 3d pie.

The chart can also be rendered with a hole in the center by specifying the “donut” chart type.

Data Field Tag
EmployeeID pivot1-row1-donut

The pie chart has been rendered as a donut with a hole in the middle.