Grid3D is used in 3D charts. In order, to set it correctly, mappers and its orientations should be set.
Setting Grid3D objects:
Grid3D grid_xy = new Grid3D(xMapper, yMapper, Grid3D.GridOrientation.XY); Grid3D grid_xz = new Grid3D(xMapper, zMapper, Grid3D.GridOrientation.XZ); Grid3D grid_yz = new Grid3D(yMapper, zMapper, Grid3D.GridOrientation.YZ); |
If there is a need to show series, which starts not from zero, for instance mapper is an instance of MathAxisMapper and its range is (20;40), and series contains data which has other range, then series should be clipped.
Enabling clipping:
grid_xy.setClipSeries(true); grid_xz.setClipSeries(true); grid_yz.setClipSeries(true); |