Page 1 of 1

Reference lines

Posted: Mon Nov 01, 2004 3:43 pm
by 8442744
Hi,

I am interested in knowing what the best strategy is for using reference lines in my 2D plots. For example I like to show a residual plot of a linear regression with a horizontal reference line at y=0, preferably in its own color and thickness. Or I like to show the cross of x and y axis at the origin (0,0) in the middle of my graph. Until now I used 2 LineSeries and that works fine of course, but I wonder if I can do it any better and more comfortable.
I am using TeeChart v6 and Delphi v7.

Thanks for your answer and kind regards from Gerben

Posted: Tue Nov 02, 2004 7:17 am
by Marjan
Hi, Gerben.

If you want do draw horizontal or vertical reference lines, then the best approach is to use the color line tool (TColorLineTool). Using this tool you should be able to draw horizontal or vertical reference lines for specific values. To see this tool in action check the "All Features -> Tools -> Color Line" examples in TeeChart demo.