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....



GridStyle


Unit: SDL_rchart
Class: TRChart
Declaration: property GridStyle: GridStyleType;

The property GridStyle determines the type of the grid:

gsNone No grid is displayed
gsPoints The grid is indicated by points
gsVertLines Vertical grid lines
gsHorizLines Horizontal grid lines
gsLines Both vertical and horizontal grid lines
gsHorizDotLines Horizontal dotted grid lines
gsVertDotLines Vertical dotted grid lines
gsDotLines Both vertical and horizontal dotted grid lines

Hint: Grid lines are rather costly as far as processing time is concerned. Thus you should be careful to avoid too many grid lines if the drawing speed of the chart is crucial.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): duallayer



Last Update: 2023-Dec-13