Configure a bar chart
- Last UpdatedDec 19, 2024
- 5 minute read
Use the Format Bar Chart pane to customize the bar chart. You can edit visual styles, scale options, and appearance of the bars.
-
Right-click the bar chart and then click Format Bar Chart to open the Format Bar Chart pane.
-
Under Style, customize the chart:
-
Title
Select the Title check box and type in the text box below.
-
Bars
Select the color of the bars in the chart.
-
Foreground
Select the color of the foreground, which includes the grid, labels, and title.
-
Background
Select the color of the background.
-
Value
-
Format
Select the default format for numbers in the chart:
Format
Description
Database
Show numbers in a format that depends on the data item:
-
For PI points or PI AF attributes with a PI point data reference, the format depends on the value of the point's DisplayDigits attribute:
-
Zero or positive numbers specify the number of digits to display to the right of the decimal point.
-
Negative numbers specify the number of significant digits.
-
-
For PI Vision calculations or PI AF attributes without a PI point data reference, numbers show 5 significant digits.
All data items show the thousands separator.
General
Show all significant digits for numbers except for trailing zeros. If the absolute value of the number is greater than 1x107 or less than 1x10-4, the format will switch to use scientific notation.
Number
Show numbers in the custom format that you specify:
-
Decimal Places
The number of digits shown after the decimal.
-
Use 1000 separator
Select this check box to show the thousands separator in large numbers.
Scientific
Show numbers in the format 0.00E+00.
-
-
Orientation
Set the orientation of the bar chart.
-
Vertical
Default setting. The bars in the chart are displayed vertically.
-
Horizontal
The bars in the chart are displayed horizontally.
-
-
Grid
The orientation of the grid options is affected by the orientation selected for the chart.
-
Bands
Bars in alternating colors that divide each value on the unit axis.
-
Lines
Default setting. Lines that divide each item on the unit axis.
-
Plain
Blank background with only tick marks on the Y axis.
-
-
-
Under Font, select your preferred font from the Name dropdown.
Note: If the selected font is not installed on a user’s system, an alternative font will be used by the browser. Roboto and Roboto Slab are installed with PI Vision, so will display consistently for all users.
To change the font size:
-
Select or enter a size in the Size dropdown.
-
Use the Increase Font Size
and Decrease Font Size
buttons to change the size incrementally.
-
-
Under Visibility, select what is shown in the chart:
-
Label
Display the description of each bar on the chart.
-
Value
Display the actual value for each bar on the chart.
-
Units
Display the units for the scale on the bar chart.
Note: If the bars have different units of measure, the units are not displayed.
-
-
Under Bar Options, customize or delete the chart's individual bars.
-
If you have multiple bars on the chart, use the list of bars to select the bar you want to configure or delete.
-
Use the left pair of Up or Down arrows to move the selected bar higher or lower on the chart in relationship to other bars.
-
Use the right pair of Up or Down arrows to move the selected bar all the way to the top or bottom of the chart.
-
Click X to delete the selected trace.
-
-
In the Bar Label field, select a label from the list, such as an attribute name or description, or enter custom text.
-
In the Units field, select the unit for the bar. Either Default for the base units or a listed unit to convert to. Only units appropriate for conversion from the base unit are listed.
-
-
Under Scale Range, configure the maximum and minimum values on the scale.
-
Use database settings
Set the scale to the data item's configured minimum and maximum values.
Select the Invert Scale check box to reverse the start and end scale values.
-
Enter custom settings
Set the maximum and minimum values of the axis manually. Enter the Top and Bottom values for vertical bar charts, or enter the Right and Left values for horizontal bar charts. To reverse the start and end scale values, enter the numbers in reverse.
-
Select a Bar Start value, which is the point on the scale from which you want to start drawing the bar.
Select Default to use the bottom value from the scale range.
Select Custom to set the value at which the scale begins.
-
-
If you want to reset all the settings in the pane to the default settings, select Reset to default.
-
If you want to save the current settings as the default settings for bar chart symbols, select Save as default. The saved settings are applied by default when a user creates a new bar chart, and they are applied when a user selects Reset to default in this pane.
Note: You must have administrator privileges to save defaults.
-
Click the down arrow
at the top of the pane and then click Add Navigation Link to add a navigation link to the symbol.