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



CursorVert


Unit: SDL_rchart
Class: TRChart
Declaration: [1] procedure CursorVert (x: double);
[2] procedure CursorVert (x: integer);

The method CursorVert draws a vertical line across the entire chart at the x-position given by the parameter x. CursorHoriz can be used with two different coordinate systems: version [1] uses the world coordinates (these are the coordinates shown at the axes of the chart), version [2] uses the screen coordinates in pixels. Using screen coordinates (which are declared as integer) has the effect that the line remains at a fixed position even if the chart is panned or zoomed.

The line width may be adjusted by the property LineWidth, the kind of line by the property PenStyle. The color of the voids in dashed lines is determined by the property FillColor.

Hint: In the Light Edition the number of chart elements is restricted to 1000 elements.



Last Update: 2017-Okt-18