The Bar graph or series is used to represent data values as a set
of vertical bars. It has two mandatory
series components, Position
and Bar. The data in these two series components specify the positions and heights of
the bars. It also has an optional series component called LabelMember whose
data may be used as the mark labels for the bars.
The UseOrigin property controls whether to use the Origin
property to determine the baseline of the bars. If it is set to false, the value of the
shortest bar is used as the baseline of the bars.
If multiple Bar series are drawn in the
same graph, the series that belong to the same group (those have the same value
of the StackGroup property) can be stacked together in a way specified by
The BarStyle property determines the style in which the bars are drawn. A number
of styles are supported: Rectangle, Cylinder, Pyramid, etc.