Hello All,
I've created a points chart that when a user clicks on a point it returns the result for that point and draws and error line from that point to a line of best-fit.
My Problem is everytime a click is made on the chart the error bar moves to the left so after two or three clicks the line is not drawn from the point itself.
Is there a way to make sure the line always goes from the centre of the point to the line of best-fit ?
Hope this makes sense,
Thanks in advance,
Craig
Fixing Error Bars
Hi Craig,
yes, you can draw the line from the centre of the point using the CalcXPosValue() method ( i.e. TChart1.Axis.Bottom.CalcXPosValue(1))Is there a way to make sure the line always goes from the centre of the point to the line of best-fit ?
Pep Jorge
http://support.steema.com
http://support.steema.com