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


Class: TRChart
Declaration: procedure DrawToRelPix (dx, dy: integer);

The method DrawToRelPix draws a line from the current cursor position (CP) to the point (CP+dx,CP+dy). The coordinates dx and dy are pixel coordinates of the chart window, thus providing a way to draw elements which are independent of the scaling of the chart.

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

Last Update: 2012-Oct-20