|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 TRChart Methods DrawTo|
|See also: DrawToRelPix, Line, MoveTo, LineWidth, Arrow, ActiveLayer, LineOffset, DoubleArrow|
DrawTo can draw in two different coordinate systems: version  uses the world coordinates (these are the coordinates shown at the axes of the chart), version  uses the screen coordinates in pixels, versions  and  provide a mixed coordinates mode. Using screen coordinates has the effect that the end of the line remains at a fixed position even if the chart is panned or zoomed.
Note that the cursor position is updated to the position (x,y). The line width may be adjusted by the property LineWidth. The color of the voids in dashed lines is controlled by the property FillColor.