The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



GridDx


Unit:SDL_rchart
Class: TRChart
Declaration: property GridDx: double;

The property GridDx defines the spacing of the grid lines (points) along the x-axis. The grid always refers to the active layer. GridDx may assume the following values:

>0 grid lines are placed at integer multiples of GridDx
0 grid lines appear at every tick mark, regardless of the Range settings

for logarithmic axes GridDx may also take one of the following negative values:

-1 grid lines are located on integer powers of 10
-2 grid lines are based on a 1-2-5 scheme
-3 grid lines are drawn at the integer values 1..9 or at decadic multiples of these values.
-4 grid lines are drawn at user defined positions

Note, that these special modes are most suitable for logarithmic scales spanning several orders of magnitude.

Hint 1: Do not forget to adjust the value of GridDx when switching between logarithmic and linear scales (or use GridDx = 0).

Hint 2: If the ratio between the range of the x-axis and the grid spacing GridDx is too large, the number of displayed grid lines is restricted in order to prevent RChart from filling the date area with millions of grid lines. The maximum number of grid lines is limited to 1000 lines (dots).


Last Update: 2016-Feb-14