The Data Item format Bargraph displays a data item with the graphical representation of a bar. The following picture shows a Bargraph display:
The above display shows an array item in Bargraph format. You can specify the width of the graphs in percent, this allows for a configurable gap between the bars. If you set the width to 100% there will be no gap. For scalar items the Width setting has no effect.
The Data Item style dialog box for Bargraph displays looks as follows:
Note
The bars are drawn so they spread evenly into the selected display area. If the array can not be displayed in the space available bars will be dropped from the display. The following image shows such a configuration.
In the above picture an array item with 1000 elements is displayed. The screen can not hold that many values on the display area and bars get dropped. The status bar will display how many elements are being displayed.
As with other graphical displays the proper setting of the range is important. In the case of the Bargraph display only the y-dimension of the range is used. It maps the values onto the graphical display. Say your y-range is 0..1000. If your data value is 333, the bar will extend to about 1/3 of the total display height. The orientation of the bar depends on the settings of the Orientation property.