Constructors
Properties
Methods
ControlToGrid
#Map a coordinate from control space into grid space.
Draw
#Draw this grid into a control graphics context. The grid drawing is designed to work in control-space, not content space. You should provide a graphics context without zoom transformations.
Parameters:
| context (Context) | Graphics context to draw into. |
| elements (GridElements) | Grid elements to render. |
GridToControl
#Map a coordinate from grid space into control space.
ResolveSnapping
#Determine the snapping intervals in the X and Y directions. This only works after a grid has been successfully drawn.
Setup
#Setup a specific projection. This method must be called before any calls to RenderXXXX() methods.
Parameters:
| frame (RectangleF) | Grid boundary frame. |
| xDomain ((double min, double max)) | X domain to be visible within frame. |
| yDomain ((double min, double max)) | Y domain to be visible within frame. |
Setup
#public void Setup(RectangleF frame, PointF origin, SizeF unit)
Setup a specific projection. This method must be called before any calls to RenderXXXX() methods.
Parameters:
| frame (RectangleF) | Grid boundary frame. |
| origin (PointF) | Grid origin. |
| unit (SizeF) | Grid unit rectangle. |
WithAxes
#Swap out the X and Y-Axis style of this grid.
WithLines
#Swap out the X and Y-Line style of this grid.