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



CrossHairPosX


Unit:SDL_rchart
Class: TRChart
Declaration: property CrossHairPosX [chnum: integer]: double;

The array property CrossHairPosX defines the x-position of the crosshair chnum.The parameter chnum may take values between 1 and MaxCrossH (currently 4). Any invalid values of chnum will be ignored when setting the property, or will result in a returned zero value when reading the property.

Hint 1: If you want to set both the x- and the y-coordinate of the crosshair you should use the method CrossHairSetPos instead of CrossHairPosX and CrossHairPosY. This would be faster than using the individual properties.

Hint 2: A better replacement of the property CrossHairPosX is the properties CrossHair1..4.

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


Last Update: 2012-Oct-20