Enum BarType
Enumeration type that defines the available types of BarItem graphs.
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public enum BarType
Fields
Name | Description |
---|---|
Cluster | Draw each BarItem side by side in clusters. |
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. |
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. |
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. |