ZedGraph LogoZedGraph Class Library Documentation
BarType Enumeration
NamespacesZedGraphBarType
Enumeration type that defines the available types of BarItem graphs.
Declaration Syntax
C#Visual BasicVisual C++
public enum BarType
Public Enumeration BarType
public enum class BarType
Members
MemberDescription
Cluster
Draw each BarItem side by side in clusters.

ClusterHiLow
Draw each BarItem side by side in clusters, also use the "Z" value from the IPointList to define the bottom of each bar. This is very similar to a HiLowBarItem, except that multiple bars will be automatically clustered, and the bar width is defined according to available space rather than as a fixed width setting.

Overlay
Draw the BarItem bars one on top of the other. The bars will be drawn such that the last bar in the CurveList will be behind all other bars. Note that the bar values are not summed up for the overlay mode. The data values must be summed before being passed to AddBar(String, IPointList, Color). For example, if the first bar of the first BarItem has a value of 100, and the first bar of the second BarItem has a value of 120, then that bar will appear to be 20 units on top of the first bar.

SortedOverlay
Draw the BarItem bars one on top of the other. The bars will be drawn such that the bars are sorted according to the maximum value, with the tallest bar at each point at the back and the shortest bar at the front. This is similar to the Overlay mode, but the bars are sorted at each base value. The data values must be summed before being passed to AddBar(String, IPointList, Color). For example, if the first bar of the first BarItem has a value of 100, and the first bar of the second BarItem has a value of 120, then that bar will appear to be 20 units on top of the first bar.

Stack
Draw the BarItem bars in an additive format so that they stack on top of one another. The value of the last bar drawn will be the sum of the values of all prior bars.

PercentStack
Draw the BarItem bars in a format whereby the height of each represents the percentage of the total each one represents. Negative values are displayed below the zero line as percentages of the absolute total of all values.

See Also

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621