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



Line


Unit:SDL_rchart
Class:TRChart
Declaration:procedure Line (x1,y1,x2,y2: double);

The method Line draws a line from the point (x1,y1 ) to the point (x2,y2 ). The drawing cursor is set to the position (x2,y2 ). The coordinates are real coordinates of the chart window. 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.

Example: This method is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): cluster, interpol3d, multilinreg, processc, simplepca



Last Update: 2016-Jun-26