public final class NFGrid
The NFGrid object is a parallelagram display object that optionally displays background and gridlines.
Type | Name | Description | Default | ||||
NFAxis | XAxis | X Axis | null | ||||
NFAxis | YAxis | Y Axis | null | ||||
NFAxis | ZAxis | Z Axis (3D only) | null | ||||
Color | background | background color | Color.gray | ||||
Color | borderColor | border color | Color.gray.darker() | ||||
Image | im | background image | null | ||||
Color | lineColor | gridline color | Color.gray.darker() | ||||
int | lineStyle | line style, use 0 for bars | NFLine.SOLID | ||||
int | lineWidth | line width in pixels | 1 | ||||
boolean | showBackground | show background | false | ||||
boolean | showBorder | show border | false | ||||
boolean | showGrid | show grid | false | ||||
boolean | showHorizontal | show horizontal lines | true | ||||
boolean | showVertical | show vertical lines | true |
NFGrid ()
void display (Graphics g)
void setAxis (NFAxis XAxis, NFAxis YAxis, NFAxis ZAxis)
void setDepth (int depth)