Pie Chart+
Pie Chart+ shows how several numeric values add up to a whole, with one slice for each data source. Choose a pie, donut, half-donut, or polar layout and label the slices with names, values, or percentages.
Overview

When to use it
Use Pie Chart+ when you need to:
- Show how much each of a few values contributes to a total, such as energy use by area.
- Show the total in the center of a donut next to its parts.
- Compare shares at the current display time, or as averages over the display time range.
Choose Combo Chart+ when you must compare precise values, show many categories, or follow values over time.
Before you begin
- Prepare two or more numeric PI Points or AF attributes. Each data source becomes one slice.
- Use values that are parts of the same total, in compatible units. Pie Chart+ adds the values as they are and does not convert units.
- Keep the number of slices small, so that labels and colors stay distinguishable.
Add and set up the symbol
- Select Pie Chart+ in the PI Vision symbol gallery.
- Drag the numeric data sources onto the symbol.
- Right-click the symbol and select Configure Pie Chart.
- Under Type, select Donut.
- Under Total, set Enabled to ON.
- Close the pane. The symbol shows one slice per data source, each labeled with its share, and the sum of all slices in the center.

Common tasks
Choose the chart layout
Use this when the default pie does not fit, for example when you want a total in the middle or a layout that needs less height.
- Right-click the symbol and select Configure Pie Chart.
- Under Type, select a layout button (1): Pie, Donut, Donut Half, or Polar.
- For a donut or half donut, drag the Radius slider (2) to change the size of the opening.

| Layout | Example | What it shows |
|---|---|---|
| Pie | ![]() | A full circle. Compare the angle of each slice. |
| Donut | ![]() | A ring with an open center that can hold a total. |
| Donut Half | ![]() | A semicircle. Use it when the symbol is wide and low. |
| Polar | ![]() | Equal-angle wedges whose length shows the value. Compare lengths instead of angles. |
Show each slice's share as a percentage
Use this when readers care about proportion more than the raw values.
- In the configuration pane, open Data Labels.
- Make sure Show is ON.
- Set Name (1) and Value (2) to OFF.
- Set Percent (3) to ON.
- Optionally set Position to Inside, Outside, or Auto.

Each slice shows its share of the total. To show the same figure in the legend, see Place and format the legend.

Put a total in the center of a donut
Use this when readers need the sum of all slices next to the parts. Select the Donut or Donut Half layout first.
- In the configuration pane, open Total.
- Set Enabled (1) to ON.
- Set Label (2) to ON to print the word "Total" above the number.
- In Units (3), select the unit to print after the number.
- In Decimals (4), select how many decimals to show.

The center of the donut shows the sum of all slice values. Units only adds text after the number. It lists the units of your data sources and does not convert anything.

Place and format the legend
Use this when the legend crowds the chart or must show more than names.
- In the configuration pane, open Legend.
- In Position (1), select Top, Right, Bottom, or Left.
- In Alignment (2), select where the legend sits along that edge.
- In Format (3), select what each entry shows, for example Name, Percent.

The legend moves to the chosen edge and each entry shows the chosen fields. A legend at the top or bottom wraps into more rows; when those rows would take more than about a third of the symbol height, or the legend is at the left or right, it adds page arrows with a page count such as 1/2 instead.

Change a slice color
Use this when a slice must match a color that your operators already know.
- In the configuration pane, open Trace Options.
- Select the data source in the list (1).
- Under Options, open the Color list (2) and select a color.

The slice for that data source changes color, and its legend marker follows. To paint every slice in one color, set Mode under Coloring to Single.

Show averages instead of the current value
Use this when the shares should reflect a period, such as the last eight hours, and not a single moment.
- In the configuration pane, open Trace Options.
- Select a data source in the list (1).
- Set Value Type (2) to Average. Other choices are Maximum, Minimum, StdDev, pStdDev, and Range.
- Repeat steps 2 and 3 for each data source.

The symbol uses the range in the PI Vision time bar. Slice sizes show each data source's average over that range.

Use the symbol

| What it shows | |
|---|---|
| (1) | The title. |
| (2) | A slice. Its size is the data source's share of the total. |
| (3) | A data label with the share, the value, or the name, as configured. |
| (4) | The total of all slice values, in the center of a donut. |
| (5) | The legend. Its marker color matches the slice. |
| (6) | The tooltip for the slice under the pointer: name, value, and percentage. |
- Hover a slice to see its tooltip. The tooltip shows the value with its unit and the slice's percentage of the total.
- Legend pages: when the legend shows page arrows, use them to move between pages.
- Display time: the slices follow the PI Vision display time. In a live display they update with new values. When you change the display time range, the symbol shows the values for that range.
- The symbol only displays data. It does not write to the PI System or change other symbols.
Configure the symbol
Right-click the symbol and select Configure Pie Chart. Groups appear in this order. Groups that apply only to some layouts say so.
Type
| Setting | What it does |
|---|---|
| Pie, Donut, Donut Half, Polar | Selects the layout. See Choose the chart layout. |
| Radius | Sets the size of the opening, from 0% to 95%. Available when the layout is Donut or Donut Half. |
Title
| Setting | What it does |
|---|---|
| Title, Sub Title | Show or hide each heading and set its text. |
| Font Size, Alignment | Set the heading text size and its position: left, center, or right. |
Style
| Setting | What it does |
|---|---|
| Theme | Selects the color theme, from Software Athlete to Custom Theme. Custom Theme adds Foreground and Background colors. |
| Surface | Selects Flat or Gradient fill. |
| Container Style | Selects the frame around the symbol: None, Flat, Card, Framed, or Glass. |
| Apply to all symbols | Copies the theme, surface, container style, and display background to every other Vision Library+ symbol on the display. |
Coloring
| Setting | What it does |
|---|---|
| Mode | Multiple uses each data source's own color. Single paints all slices in one color. Used in Change a slice color. |
| Color | Sets the single color. Available when Mode is Single. |
| Stroke | Sets the outline color between slices. |
| Gradient | Turns a shaded fill on or off. Available when the layout is Polar. |
| Opacity | Sets the transparency of the slices, from 10% to 100%. |
Legend
| Setting | What it does |
|---|---|
| Enabled | Shows or hides the legend. |
| Position, Alignment | Place the legend on an edge and along it. Used in Place and format the legend. |
| Size | Auto fits the legend to its entries. The other choices fix its size at 120, 180, 240, or 320 px. |
| Color | Marker shows a colored marker beside each entry. Text colors the entry text instead. |
| Format | Shows the name, value, percentage, or a combination. |
Axis Y and Grid
Both groups appear only when the layout is Polar.
| Setting | What it does |
|---|---|
| Scale | Shows or hides the value scale. |
| Scale Range | Auto fits the scale to the values. The custom range adds Top, Bottom, and Spacing. The invert button reverses the scale. |
| Show (Grid) | Shows or hides the rings and spokes behind the wedges. |
Data Labels
| Setting | What it does |
|---|---|
| Show | Shows or hides the labels on the slices. |
| Position | Places labels Inside, Outside, or Auto. Not available when the layout is Polar. |
| Name, Value, Percent | Select what each label shows. Used in Show each slice's share as a percentage. |
| Background | Adds a badge behind each label. |
| Font Size | Sets the label text size. |
Total
Not available when the layout is Polar. Use it with Donut or Donut Half: on a plain pie the total is drawn over the slices.
| Setting | What it does |
|---|---|
| Enabled | Shows or hides the total. Used in Put a total in the center of a donut. |
| Label | Prints "Total" above the number. |
| Units | Adds a unit after the number. The list holds the units of your data sources. |
| Font Size, Decimals | Set the text size and the number of decimals, from 0 to 10. |
Tooltip
| Setting | What it does |
|---|---|
| Show | Turns the hover tooltip on or off. |
Trace Options
| Setting | What it does |
|---|---|
| Data source list | Lists the slices. Use the buttons below the list to reorder or remove a data source. |
| Value Type | Selects the value a slice uses: Value (the value at the display time) or a statistic over the time range. Used in Show averages instead of the current value. |
| Label | Selects the name shown for the slice, or lets you enter a custom name. |
| Color | Sets the slice color. Available when Coloring Mode is Multiple. Used in Change a slice color. |
| Format | Sets the number format of the slice value. |
Troubleshooting and limitations
| Symptom | Cause | What to do |
|---|---|---|
| A slice is missing. | Its data source returns no numeric value, or the value is zero. | Check the data source in Trace Options. A zero value has no area and no label. |
| Labels overlap. | The symbol is too small for the number of slices. | Enlarge the symbol, use fewer data sources, or turn Data Labels off and use the legend. |
| The percentages look wrong. | The values are not parts of the same total or use different units. | Use data sources that share a unit and describe one whole. |
| The total overlaps the slices. | Total is on with the Pie layout. | Select Donut or Donut Half. |
| Position, Total, or Radius is missing from the pane. | The setting does not apply to the selected layout. | Select a layout from the table in Choose the chart layout. |
Limitation: The total adds the slice values as they are. It does not convert units.




