Pie chart allows you to showcase the proportionality of each item to the total in the form of pie-slices.
The Pie chart needs a minimum of one value element and one column element to showcase. The measure
or expression
field that you would like to analyze can be dropped into the Values
block. The dimension
that you would like to categorize the measure can be dropped onto the Columns block. If you would like to categorize the measure based on a series, then the respective dimension can be dropped onto the Rows block
in addition
To configure data in the Pie Chart, follow these steps:
Pie Chart
to the canvas and resize it to your required size.Data Source
icon in the configuration panel.CREATE NEW
to launch a new connection from the connection-type panel.Microsoft Excel
connection type is selected for demonstration.NEW DATA SOURCE
configuration panel, choose the file path and click Preview & Connect
.Save
.Properties
icon in the configuration panel. The property pane opens.ASSIGN DATA
tab.ASSIGN DATA
tab will be opened with available measures and dimensions from the connected data source.You can add more than one measure to the Value(s)
field by dragging the required field.
Now, the Pie chart will be rendered as follows.
Click the Settings
option to change the required summary type from the available summary types shown in the Settings.
You can filter the data displayed in the Pie Chart by using the Filter
option. For more details, refer to thefilter.
You can format the data displayed in the Pie Chart by using the Format
option. For more details, refer to themeasure format.
To remove the added value fields, click the highlighted button.
You can add data from the Dimension
field to the Column(s)
field.
The pie chart will be rendered as follows.
Add more than one value to the Column(s)
field. The following alert message will open.
You can enable this option to get further details about the selected chart region. To enable drill down, click Yes.
NOTE: If you click
No
, a single value will be added to the Columns field.
The drilled view of the selected chart region will be as follows.
You can change the Settings.
You can sort the dimension data using the Sort
option under the Settings menu list. To apply sorting for data, refer to the[Sort] (/embedded-bi/visualizing-data/working-with-widgets/advanced-sorting/#dimension-column).
You can apply filters by selecting Filter(s)
option in settings. For more details, refer to thefilter.
NOTE: By default, the filter will be set for the top 5 records.
Similarly, you can add the Measures and Expressions Columns to the Columns field.
The configured field names can be edited by using the Rename
option provided in the settings menu.
You can drag the Dimension
field into the Rows field
.
You can apply the filter and sort options for the rows field, if required.
This will render a pie chart in a series.
Scroll down to see all the charts.
You can format the pie chart for better illustration of the view by using the settings available in the Properties tab.
To configure data in the pie chart, follow these steps:
Drag and drop the pie chart into the canvas and resize it to your required size.
Configure data in the pie chart.
Focus the pie chart and click the Widget Settings icon.
The property window will be opened as follows.
You can see the list of properties available for the widget with default value.
Allows you to set the title
for the Pie chart widget.
Allows you to set the subtitle
for the Pie chart widget.
Set a description for the Pie chart, whose visibility will be denoted by i icon, and hovering over it will display the description
in a tooltip.
This option allows you to toggle the visibility of tooltip in the pie chart.
Chart type
Switch the widget view from the current chart type to another chart type.
It animates the measure values when you enable the Enable Animation
.
It allows you to toggle the visibility of value labels.
If you Disable Show Value Labels
properties, the dependent properties, which are color, Value label position, Value label rotation and Value label suffix will be hidden.
This allows you to customize the value label’s color.
Defines the display format as a category, value, percentage, category and value, category and percentage, value and percentage
, or all details
.
This allows you to show or hide the suffix value of value labels.
This allows you to customize the suffix value of value labels.
This allows you to customize the size of the pie chart. Values can be between 0.1 and 1.
The Series Settings
option is enabled only when you configure the series in the Assigned Data
tab.
If you enable the Fixed rows and columns, you can customize the rows and columns. The rows and columns are fixed based on the container size and size of the pie chart.
By enabling the Row Count
, you can set the count of the rows.
By enabling the Column Count
, you can set the column count.
Note: If the invalid columns and rows are given, the rows and columns reset to their default value. For example: If you are given the number of rows as 6 and the number of columns as 5 but your data count is only 20. In this case, the rows and columns will reset to their default value.
A Legend is a text used to describe the plotted data. It allows you to toggle the visibility of the legend in the chart and change the legend text position (selecting through combo box). Enabling the Custom Legend Text option will allow you to define a custom text (through the text area) to display for each legend series (selecting through the combo box) in the chart.
This allows you to change the chart legend title and label colors.
It allows you to customize the legends. When you click the customize
button, the dialog box will be shown.
A Legend is a text used to describe the data plotted. This option allows you to place the legend at the position of Left, Right, Top, and Bottom.
This allows you change the shape of the legend.
Circle
This option allows you to change the shape of the legend in a Circle
.
Series Type
This option allows you to change the shape of the legend in Series
.
This allows you to add the legend title for the chart. It will reflect with the Show Legend
.
This option allows you to customize legend text based on the ‘Text Width’ property value.
None
This option allows you to render legend items without any wrap and trim.
Trim
This option allows you to trim the legend items if its legend exceeds the ‘Text Width’ value.
Wrap
This option allows you to wrap legend items based on the ‘Text Width’ value.
This option allows you to set a maximum width for the Legend Items and it is applicable only if the text-overflow is set to Trim or Wrap.
If you uncheck the Show Legend
property in the property panel, the dependent properties, which are Legend color, Legend position, customization button and Legend title are also hidden.
You can enable linking and configure navigating to a general URL with or without parameters. For more details, refer to theLinking.
By toggling the series palette
, you can able to customize the proportion series segments’ colors.
Based On
You can choose the field from the Based On section to apply the conditions.
This section shows a palette of colors. By clicking the colored square, the color picker will open. You can choose a color and change the color by changing the corresponding hexadecimal value at the right.
Using the Color Mapping type, you can apply the colors to the series either based on data or index.
Data
It allows you to apply color for chart series based on data. If you want to apply a specific color to specific data, you can use Data based color mapping. By default, the Color Mapping Type will be Data
.
IMPORTANT: Only top 100 records will be listed in the
dialog. Index
It allows you to apply color for chart series based on Index
. Such that the colors are maintained based on index even if data is changed. It shows only 15 different colors. After that, the color will be repeated from above colors.
For example, If you are displaying the countries based on the increasing order of the case count, then the index-based color mapping will be useful to set the colors based on the rank. Say red color to the top, then the red color will be maintained for the country having the largest case count.
Note: We prefer to use Index based color customization only for minimum data(upto 15 series).
This option shows when you add more than one measure field to the Value(s).
By toggle off the Use Default Palette
, you can customize the proportion series segments colors by clicking the colored squares.
This section allows you to customize the font size of the chart elements.
This section allows you to handle the filter
actions for the pie chart widget.
Define the Pie Chart widget as a master widget
such that its filter action will be shown in other widgets of the dashboard.
Define the Pie chart widget to ignore the filter actions applied to other widgets in the dashboard.
Through this option, you can enable or disable the hierarchical Top N
filtering. While applying the Top N
filter with multiple dimension columns, the data returned can be customized based on whether the filtering needs to be done as flat or based on the hierarchy of added dimension columns.
When the Enable Hierarchical Filtering option is enabled, the Top N
will be applied for each individual column separately based on the number set for each column.
This allows you to handle the alignment of widget title to either left, center, or right.
This allows you to apply the text color
to the widget title.
On enabling Auto Font Size, the font size of the title will be adjusted automatically if the resolution of the screen varies.
Font Size
This allows you to apply the specified size of the font to the widget title if the Title Auto Font Size is disabled. Value can be between 10 and 44.
On enabling Auto Font Size , the font size of the subtitle will be adjusted automatically if the resolution of the screen varies.
Font Size
This allows you to apply the specified size of the font to the widget title if the Subtitle Auto Font Size is disabled. Value can be between 10 and 32.
On enabling Auto Padding, the padding of the widget container will be adjusted automatically if the size of the widget varies.
Padding
This allows you to customize the padding of the widget container if the Auto Padding is disabled. Value can be between 0 and 25.
This allows you to toggle the visibility of the border
surrounding the widget.
This allows you to apply the specified radius
to the widget corners if the Show Border is enabled. Value can be between 0 and 10.
This allow you to set the background image for the pie chart widget.
This allows you to set the background color to the pie chart widget.
This property allows you to specify the transparency for the background color
.
This allows you to toggle the visibility of the shadow
surrounding the widget.
This allows you to enable or disable the widget title
of the pie chart.
This allows you to enable or disable the maximized mode
of the pie chart widget. The visibility of the maximize icon in the widget header will be defined based on the setting in the viewer.
This allows you to enable or disable the CSV export
option for the pie chart widget. Enabling this allows you to export the summarized data of the widget view to CSV format in the viewer.
This allows you to enable or disable the Excel export
option for the pie chart widget. Enabling this allows you to export the summarized data of the widget view to (.xlsx or .xls)
format in the viewer.
This allows you to enable or disable the Image export
option for the pie chart widget. Enabling this allows you to export the view of the widget to image format (.jpg), (.png), or (.bmp)
in the viewer.
This allows you to enable or disable the PDF export
option for the pie chart widget. Enabling this allows you to export the view of the widget to pdf format in the viewer.
This allows you to enable or disable comment
for the dashboard widget. For more details, refer to the link.
This allows you to visualize the raw data associated with a widget at runtime.
To learn more about viewing the underlying widget data, refer to the view data documentation.
This allows you to pin the widget.