Pie charts
- UpdatedOct 7, 2024
- 11 minutes to read
Pies charts show the proportions that make up a whole.
This data visualization is supported on the mobile platform. For more information, see Pie charts for mobile and Mobile dashboard preview.
Create a pie chart
Create a pie chart to compare the size of individual categories to the whole.
Before you begin
Role required: itil, report_user, report_group, report_global, report_admin, or admin. To create a meaningful report, you must have the right to access the data you want to report on.
Procedure
What to do next
- Select the Report info icon (
) and add a description of the report. - Select the sharing icon (
) to open the Sharing menu. On this menu, you
can add the report to a dashboard, export the report to PDF, publish the
report to the web, and set visibility and schedules.
Pie chart style options
Change the look of your pie chart.
When you create or edit a report, click the Style tab for options to configure the look of your report. The options are organized under two or more of the following tabs: General, Title, Legend, and Axis. To see how the report looks with the changed settings, click Save.
| Field | Description |
|---|---|
| General | |
| Chart color | Source of the colors used in the report. Select from the following:
|
| Set palette | Color palette used in the report. This field appears when you select Use color palette from the Chart color list. The palettes are defined in the Chart Color Scheme [pa_chart_color_schemes] table. |
| Colors | Colors used in the report. This field displays when you select Use
several colors from the Chart color list.
Enter a comma-separated list of hexadecimal color codes. These colors are
independent of the predefined system colors that color palettes and the chart
colors use. Note: It is not possible to use transparency hex
values. |
| Display data labels | Check box to display the value for each slice. |
| Custom chart size | Check box to specify the width and height of the report in pixels. Note: The
chart size is ignored when you export the report to PDF. In PDFs, the full page
width is used to show the chart. |
| Chart width | Width of the report in pixels. The default value is 600. This field is available when Custom chart size is selected. |
| Chart height | Height of the report in pixels. The default value is 450. This field appears when Custom chart size is selected. |
| Chart size | Chart size. This field is available when Custom chart
size is cleared. Options are Small,
Medium, and Large. Note: The chart
size is ignored when you export the report to PDF. In PDFs, the full page width
is used to show the chart. |
| Drilldown view | List view to show when a user selects a segment of a report for which no
drilldown report type is specified. This view is also used when the user reaches
the lowest drilldown level of a report. See Configure the list
layout
. If you specify a Report
drilldown, Drilldown view is
ignored. For more information, see Define a report drilldown. |
| Decimal precision | Number of decimal places to show. You can show from zero to four decimal
places. Default value: 2. To change the default value, create the system property
glide.chart.decimal.precision and specify the value. This option is available for
Average aggregations. Note: Percentage labels do not change accordingly with the
decimal precision specified.
![]() |
| Title | |
| Show chart title | When the chart title is shown for the report.
|
| Chart title | The chart title has a maximum length of 40 characters. If no title is entered, the report name is used for the title. This field appears when Report only or Always is selected from the Show chart title list. |
| Size of the chart title | Size of the chart title in pixels. This field appears when Report only or Always is selected from the Show chart title list. |
| Chart title color | Color of the chart title. This field appears when Report only or Always is selected from the Show chart title list. |
| Custom chart title position | Check box to specify X and Y coordinates for the position of the chart title. This field appears when Report only or Always is selected from the Show chart title list. |
| Title horizontal alignment | How the chart title is aligned horizontally. This field is available when the Custom chart title position option is cleared. |
| Title vertical alignment | How the chart title is aligned vertically. This field appears when Custom chart title position is cleared. |
| Chart title X position | Number of pixels to adjust the chart title position right or left. By default
the title appears at the center top of the chart. To move the chart title to the
right, enter a positive value. To move the title to the left, enter a negative
value. This field appears only when Custom chart title position is selected. |
| Chart title Y position | Number of pixels to adjust the chart title position up or down. By default
the title appears at the center top of the chart. To move up the chart title,
enter a positive value. To move the chart title down, enter a negative
value. This field appears only when Custom chart title position is selected. |
| Legend | |
| Show legend | Check box to show a chart legend. This check box appears when a
Group by field is selected on the report form. Legends are truncated by default. To adjust truncation lengths, configure the properties glide.chart.label.legend.truncate_to and glide.chart.label.legend.truncate_to.large. For more information, see Reporting properties. |
| Legend horizontal alignment | How the legend is aligned horizontally. This field appears when Show legend is selected. |
| Legend vertical alignment | How the legend is aligned vertically. This field appears when Show legend is selected. |
| Show legend border | Check box to show a border around the legend. This check box appears when Show legend is selected. |
| Left align legend text | Check box to left-align the legend text when the report is viewed in a browser. By default, the legend text is centered. When the report is exported to PDF, PNG, or JPG, the legend remains centered. This check box appears when Show legend is selected. |
