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

Home ChartPack RChart Class TContourPlot Methods DetectScale |
|||||||||
| See also: ScaleY, ScaleX | |||||||||
DetectScale |
|||||||||
The function DetectScale checks whether the position [CoordX,CoordY] is within a visible scale. The position is specified in pixel coordinates of the plot canvas. The function returns a zero value if the specified position is not within any scale of an axis. A value of -1 indicates that the position is within the x-scale, a value of +1 indicates that the position is within the y-scale. Version [1] of the function assumes that the scales are 50 pixels wide (vertical axes) and 40 pixels high (horizontal axes), version [2] allows to set the capture range in pixels (properties AssumedHeight and AssumedWidth).
|
|||||||||