Bar chart
- Last UpdatedDec 19, 2024
- 3 minute read
Use a bar chart symbol to compare multiple values through graphical representation. Bar charts are often used to compare multiple data sources, where one bar represents one data source. A data source could be from PI, from AF, or a calculation.
To add a bar chart to a display, select the bar chart symbol icon
from the Symbol Gallery and then drag a data item from the search results onto the
display. The following image shows a sample bar chart.
If the bar chart has a navigation link, hover your mouse over the chart area to access the link in a tooltip. Hover your mouse over each bar to see the label, value, units, and time for the data source associated with that bar. When you resize the chart, the bars and the spaces between them adjust automatically.
The bar chart does not require configuration, but you can use the options available in the Configuration pane to customize the chart. The default orientation is vertical, but you can change it to be horizontal.
Default configuration
Administrators can set the default configuration for bar chart symbols across all displays. For more information about display defaults, see the Default display and symbol configuration topic in the AVEVA PI Vision Installation and Administration Guide. The symbol configuration settings which a default can be set for are:
-
Style
-
Bars Color
-
Foreground Color
-
Background Color
-
Value Color
-
Bar Label
-
Orientation
-
Grid
-
-
Font
-
Name
-
Size
-
-
Visibility
-
Label
-
Value
-
Units
-
Scale
Data values on a bar chart appear within a range of values that is referred to as the scale. The scale indicates the highest high and lowest low values of the data items. The scale defaults to the maximum and minimum values of the combined database settings. At each scale value, a vertical grid line extends across the plot area.
Note: If the bars have different units of measure, the scale is not displayed.
Multi-state
When you enable multi-state, there are five (5) equally spaced ranges for numeric values. The range of numeric values for a multi-state chart defaults to the same numeric range as the value scale. You can use the options available in the Multi-state Configuration pane to customize the chart. The display author can select whether to apply the multi-state definition to the bars or to define colored bands on the background of the bar chart.
When all data sources are digital with a common set of state values, the multi-state pane defaults to using these states.
Once you configure multi-state, it is not automatically updated if you change the data sources for the bar chart. For example, if all data sources use the same digital states when the multi-state is created, but then those data sources are replaced with numeric values, the multi-state will continue to show the original values and all non-digital values will be in error.