Can you advise on best way to add a flat line on a standard XY chart please. I have charts which have X=increment of samples 1 through N000, and a single variable that varies in y axis. I want to put a line at a specified tolerance, say at y=6, so there is a flat line from x min to x max of chart. I can do this by ading linetool, or by adding a tlineseries and drawing t between x-min and x-max. But is there a simpler method that avoids adding another object to my chart? Something like in afterdraw of chart
movetoxy(xmin,yval)
linetoxy(xmaxyval)
thanks
Sean
Flat line at Y val
Re: Flat line at Y val
Hi Sean,
I can't think on other ways to do it apart from the alternatives you've mentioned: TColorLineTool or direct drawing at OnAfterDraw event
I can't think on other ways to do it apart from the alternatives you've mentioned: TColorLineTool or direct drawing at OnAfterDraw event
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |