Panels > Pie Chart

Pie Chart

A pie chart is a circular statistical graphic with slices that are proportional to the quantity they represent. In a pie chart, the arc length of each slice (and consequently its central angle and area) is proportional to the quantity it represents.

It’s typically used to illustrate percentages or proportional data, often accompanied by percentage labels next to each slice. Pie charts are most effective when depicting data with roughly five categories or fewer.

Creating a Pie Chart

To create the Pie chart

  • Create a New Dashboard Panel
  • Configure the Query and select the appropriate Data Source

(Refer to Dashboard Creation > Query)

Select Visualization

On the right side of the default screen, select Visualization as Pie Chart to create an Pie Chart panel.

Visualization Options 

Panel Options

There are multiple options for editing the properties of the panel. The first one is ‘Panel Options.’ Enter a name and description for the panel you want to create. For example, if you’re creating a pie chart to track power usage, name the panel ‘Pie Chart’ and describe it as ‘Power Usage.’

The Description is available in the top left corner and can be viewed by hovering over the i button.

The next part of Panel Options is Panel Link where you can point a link to any other website or dashboard of your choice. Enter a title, and URL, and select the ‘Open in a new Tab’ option if you want to open the link in a new tab. Click Save.

The URL can be a link to another dashboard or for getting help or useful info. When you click on a panel, it opens the link either in the same tab or a new tab, depending on your choices. For example, if you want to compare a default dashboard, just click the link to open it.

Value Options

Use the following options to refine the value in your panel.

Show

Choose how much information to show:

  • Calculate – Reduces each value to a single value per series.
  • All values – Displays every value from a single series.

Limit

It limits the number of values displayed, instead of all the series values.

Fields

Select which field or fields to display in the panel. Each field name is available on the list, or you can select one of the following options:

  • Numeric fields: All fields with numerical values.
  • All fields: All fields that are not removed by transformations.
  • Time: All fields with time values.
  • A- Series: The standard A-series (main series)

Pie Chart

The pie chart options allow you to configure the pie chart display settings and include:

Piechart type

Select the pie chart display style.

Pie

Donut

Labels

Select labels to display on the pie chart. You can select more than one.

  • Name: The series or field name.
  • Percent: The percentage of the whole.
  • ValueThe raw numerical value.

Tooltip

The following section is Tooltip which means showing the data information when the cursor is pointed at it.

It can be kept as single, all or hidden based on whether you want to see data information by hovering over the pie chart.

Legend

The next option is the “Legend,” which essentially allows you to choose how you want the legend values to appear: at the bottom or on the right.

As for the Legend mode, you can show it as:

  • List: The legends are displayed as a list.

  • Table: The legends are displayed as a table.

  • Hidden: The legends are not displayed.

Legend Values

You can select a number of values such as percent or values to show in the legend.

The values are the specific properties of the data.

The corresponding properties of the data will be displayed as a legend in the graph.

Standard Options

The Standard Options are used to configure the other standard settings in the graph. It changes the way the graph appears.

The further options include:

  • Unit type: The type of Unit parameters.
  • Min: Minimum value to be considered.
  • Max: Maximum value to be considered.
  • Decimal: Total digits after the decimal point.
  • Display name: Series name to be displayed.
  • Color scheme: choose a color scheme for the graph.
  • No Value: What to show when there is no value.

Value Mappings

The Value Mappings option allows you to find a specific value, and the display text is displayed wherever the value lies. If there is a similar value in the data, it is highlighted in the form of the color selected.

Data Links

The Data Links option is similar to the Panel Link where you can link a URL and then open it in another tab. It is placed on the data instead of the Panel.

You can click on the data anywhere and the link option will appear.

It is used for an instant link that you want to appear anytime you click on the data.

Add Field Override

The Add field Override option allows you to override an existing field.

Overrides allow you to change the settings for one or more fields. Field options for overrides are the same as the field options available in a particular visualization. The only difference is that you choose which fields to apply them to.

To add a field override, click on the Add Field Override button.

Select the Field type

Select a field type,  based on the following properties:

  • Name: Set properties for a specific field with a name.
  • Matching Regex: Set properties for fields with name matching a regex.
  • Type: Set properties for a field of a specific type (number, string, boolean).
  • Query: Set properties from the field for a specific query.
  1. Select the Field.
  2. Select the override property.
  3. Configure the override property.

You can add multiple fields overrides by repeating the same.

You have now learned how to configure the Pie Chart, change the panel settings, and more. You can save and edit the panel later too.

Further Reading

FAQs

 
  • A pie chart is a circular statistical graphic that displays data in slices, where each slice is proportional to the quantity it represents. It’s best used to illustrate percentages or proportional data with roughly five categories or fewer.

For more details, refer to the Pie Chart page.

  • To create a pie chart, start by creating a new dashboard panel, configure the query, select the appropriate data source, and then choose “Pie Chart” as the visualization.
  • Detailed steps are available in the Creating a Pie Chart section.
  • In the ‘Panel Options,’ you can enter a name and description for your panel. This helps in identifying the purpose of the chart, such as ‘Power Usage’ for tracking power consumption.
  • Check the Panel Options section for more information.
  • You can choose to show calculated values, all values, or limit the number of displayed values. Additionally, you can select specific fields to display.
  • More details can be found in the Value Options section.
  • You can choose to display different types of labels such as series names, percentages, and raw numerical values.
  • See the Pie Chart Labels section for further details.
  • Use the ‘Panel Link’ option in ‘Panel Options’ to add a title, URL, and set whether it opens in a new tab.
  • For instructions, refer to the Panel Link section.
  • The tooltip feature shows data information when you hover over the pie chart. You can set it to single, all, or hidden.
  • Learn more in the Tooltip section.
  • The legend can be displayed at the bottom or right and in list, table, or hidden mode. You can also choose which values to show in the legend.
  • Detailed options are available in the Legend section.
  • Field overrides allow you to change settings for specific fields. You can apply properties based on field names, regex matches, field types, or specific queries.
  • For step-by-step instructions, see the Field Override section.

Ensure that the query is correctly configured and the data source is appropriately selected. Check the minimum and maximum value settings and verify that there is data available within the specified range.

  • Use the ‘No Value’ option in the Standard Options to specify what should be displayed when there is no value.
  • More information is available in the Standard Options section.

Resources

Browse through our resources to learn how you can accelerate digital transformation within your organisation.