Enum ZOrder
Enumeration that specifies a Z-Order position for GraphObj objects.
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public enum ZOrder
Remarks
This enumeration allows you to set the layering of various graph features. Except for the GraphObj objects, other feature types all have a fixed depth as follows (front to back):
You cannot place anything behind the Rect background fill, but ZOrder allows you to explicitly control the depth of GraphObj objects between all other object types. For items of equal ZOrder, such as multiple CurveItem's or GraphObj's having the same ZOrder value, the relative depth is controlled by the ordinal position in the list (either CurveList or GraphObjList). GraphObj objects can be placed in the GraphObjList of either a GraphPane or a MasterPane. For a GraphPane-based GraphObj, all ZOrder values are applicable. For a MasterPane-based GraphObj, any ZOrder value can be used, but there are really only three depths:
Fields
Name | Description |
---|---|
A_InFront | Specifies that the GraphObj will be in front of all other objects, except for the other GraphObj objects that have the same ZOrder and are before this object in the GraphObjList. |
B_BehindLegend | Specifies that the GraphObj will be behind the Legend object. |
C_BehindChartBorder | Specifies that the GraphObj will be behind the Chart border. |
D_BehindAxis | Specifies that the GraphObj will be behind the Axis objects. |
E_BehindCurves | Specifies that the GraphObj will be behind the CurveItem objects. |
F_BehindGrid | Specifies that the GraphObj will be behind the grid lines. |
G_BehindChartFill | Specifies that the GraphObj will be behind the Rect background Fill (see Fill). |
H_BehindAll | Specifies that the GraphObj will be behind all other objects (including the PaneBase Title). |