Pie/Donut Chart Widget
This type of widget belongs to the Dashboard category in the widget library. It enables you to view, for a given measure, the quantity or portion of each dimension element compared with all of the other elements (100%) in a pie or donut chart. Values are usually in percentages.
Pie charts and donut charts are exactly the same. The only difference is that the interior of a donut chart is empty.
Notes
See General information on widgets
- As a general rule, a data source contains one Dimension column and one or more Measure columns. See Standard data source structure.
- This chart can process one measure only.
- If the data source contains several measures, you should select the one you want using the Data Transformer. If you do not do so, then the first measure will automatically be processed.
- In execute mode, the legend displayed at the top right of the chart is a dynamic data filter (Chart Label -/- Legend > Legend). Infotips appear when you move the mouse over each segment.
Best practice
- Use the Pie/Donut Chart widget to view the quantity of each element or to highlight one element as compared with the whole.
- When the number of dimension elements is large and must be displayed in a limited space, you should use the Bar Chart widget.
![]() |
Pie/Donut Chart widget |
---|---|
![]() |
![]() |
Example
You want to display the percentage of incidents per employee (measure) by department (dimension with 3 elements: Sales, Marketing and Administration) in a donut chart.
Data source | Pie/Donut Chart widget |
---|---|
Note: The data source contains several measures. You select the measure you want (number of incidents per employee) using the Data Transformer.
|
![]() |
List of properties
Content
DataSource
Data Source: External data source associated with the widget.
- The drop-down list displays all of the data sources available in the app.
- To modify the data source or to view its contents, you should click
. The
button below the Preview property shows the number of rows (max. 15) and columns extracted.
- To define a new data source, click
Add Data Source in the Objects pane.
DataTransformer
Data Transformer: Used to define the structure and scope of the data source, apply statistical aggregate functions and modify the order of the measures displayed.
- Click Setup / Preview Data below the Data Transformer property to open the dedicated window.
See the description.
EnableDrilldown
Enable Drilldown (Note: Only for an EasyVista data source data source using a view with grouping levels): Used to indicate if data is aggregated (box is checked - the drill-down functionality is enabled) or not (box is not checked).
example Breadcrumbs widget: Breakdown of equipment by location.
Data
FirstRowContainsDimensionElements
First Row Contains Dimension Elements: Used to specify the structure of the data source by indicating if dimension elements are found in the first column (box is not checked: standard data source structure) or in the first row (box is checked). Note: This property does not affect the behavior of the Data Transformer.
SortByValueDescending
Sort By Value Descending: Used to sort dimension elements in descending order (if the box is checked, from highest to lowest value) or in the order in which they are read in the data source (box is not checked). Note: The order applied is determined by the dimension elements of the first measure in the data source.
Click to see an example: Charts for incidents and requests per employee
The data source contains the Department dimension with three elements.
Box is checked | Box is not checked |
---|---|
The dimension elements of each measure are sorted in descending order. |
The dimension elements of each measure are displayed according to the sort order of the data source. |
MaximumNumberOfData
Maximum Number Of Data: Used to indicate the maximum number of dimension elements to be loaded from the data source for each measure selected in the data source.
- The count is always performed from the first dimension element.
- When the number of dimension elements to be loaded is greater than the number of dimension elements in the data source, all of the data is loaded.
- To view the data source, click
next to the Data source property, then click
button below the Preview property which shows the number of measures and the number of dimension elements for each measure.
Click to see an example: Charts for incidents and requests per employee
The data source contains the Department dimension with three elements.
Maximum Number Of Data = 20 (default value)
Maximum Number Of Displayed Data = 20 (default value) |
Maximum Number Of Data = 2
Maximum Number Of Displayed Data = 20 (default value) |
Maximum Number Of Data = 20 (default value)
Maximum Number Of Displayed Data = 1 |
---|---|---|
All dimension elements are loaded and displayed for each measure, i.e. the three departments. |
Only the first two dimension elements are loaded and displayed for each measure, i.e. the first two departments. |
All dimension elements are loaded but only the first element is displayed. This corresponds to the Sales department. The Others dimension element groups values from the Marketing and Administration departments. |
MaximumNumberOfDisplayedData
Maximum Number Of Displayed Data: Used to indicate the maximum number of dimension elements to be displayed for each measure selected in the data source. This improves chart readability.
example You want to display the chart for incidents and requests per employee. See the Maximum Number Of Data field.
- The count is always performed from the first dimension element.
- When the number of dimension elements to be displayed is less than the number of dimension elements to be loaded, the Others dimension element will automatically be added to the chart. It will aggregate all of the values from non-displayed dimension elements.
Chart
Chart Type (Pie/Donut): Type of chart to be displayed.
Donut option | Pie option |
---|---|
Circular chart whose interior is empty |
Circular chart |
ColorTheme
Color Theme: Color theme applied to the chart. This affects the color of Bar Chart widgets, Line Chart widgets and Pie/Donut Chart widgets as well as the color of the buttons for each legend.
- The list is provided by EasyVista.
- The number of theme colors is indicated next to the theme name, e.g. Brown (6), Default (12), EasyVista (7).
MeasureAxisDataType
Measure Axis Data Type: Used to define the display of values in the axis and infotips. Note: The number format, e.g. comma or period for the decimal symbol, depends on the configuration settings of the platform used by the logged-in user. In Windows, this is specified in the Control Panel > Regional and Language Options.
- Integer: Used to display whole numbers rounded up or down to the nearest unit.
example 152200.10 ==> 152200
- Float: Used to display values with 2 decimal places.
example 152200 ==> 152200.00
- Big Number: Used to display values converted to thousands (k), millions (m), billions (G) followed by the unit symbol. Numbers are rounded up or down to the nearest unit.
example 152200 ==> 152k
Chart Label -/- Legend
ChartLabelLegendPieDonutChart
Properties of the legends.
Property | Description | Representation | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Element | Object to format | ![]() |
||||||||||||||||||||
(1) | Label: Legend of the segments | |||||||||||||||||||||
(2) | Legend: Legend displayed at the top right of the chart | |||||||||||||||||||||
Graphic properties of the selected object
PageGeneralFormat
|
Legend
Legend: Used to indicate if the chart legend should be displayed (box is checked) or not (box is not checked).
- Each legend is made up of the name of the dimension element preceded by a button.
- The color of the buttons is defined by the color palette applied to the chart (Common > Color Palette property).
- Define the position of the legend using the Layout, Position, Horizontal and Vertical properties.
Display/Hide Labels: Used to indicate if the data labels should be displayed (box is checked) or hidden (box is not checked). Note: If required, use the Labels Outside property to define the position of the labels.
Color of Arc Text: Used to indicate if the data labels are displayed in a specific color (box is checked) or in black (box is not checked).
Label Type: Used to define the content of the data labels. Note: Use the Labels Outside property to define the position of the labels.
- Value: Used to display the value of the dimension element.
- Label: Used to display the name of the dimension element.
- Percent: Used to display the value of the dimension element as a percentage.
- Label and Percent: Used to display the name of the dimension element and its value as a percentage.
Labels Outside: Used to indicate if the data labels are displayed inside each segment (box is checked) or outside each segment (box is not checked).
Box is checked | Box is not checked |
---|---|
![]() |
![]() |
Label Threshold: When the value of a dimension element exceeds the threshold, its data label will be displayed. Note: The threshold applies to the display unit of labels defined in the Label Type property.
Threshold = 0.15; Display percentage ==> Only data labels whose percentage value exceeds 15% will be displayed.