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



LineOffset


Unit: SDL_rchart
Class: TRChart
Declaration: procedure LineOffset (x1,y1, x2, y2: double; dx, dy: integer);

The method LineOffset draws a line from the point [x1,y1] to the point [x2,y2] with a offset specified by dx and dy. The drawing cursor is set to the position (x2,y2 ). The coordinates x1, y1, x2 and y2 are real coordinates of the chart window, the offset is in pixels.

The line width may be adjusted by the property LineWidth. The color of the voids in dashed lines is controlled by the property FillColor.

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



Last Update: 2015-May-30