Grid is composed of regularly spaced horizontal and vertical lines. Frequently, both horizontal and vertical lines are needed. However, there is a possibility to disable them. This can be achieved passing null values when creating grid object.
Setting grid:
// Sets Grid object, named grid, only with vertical lines, // where yMapper is instance of AxisMapper Grid grid = new Grid(null, yMapper); |
Figure 5.4.1.1 Grid with horizontal lines
Setting grid:
// Sets Grid object, named grid, with no lines Grid grid = new Grid(null, null); |
Figure 5.4.1.2 Grid with no lines