CalcPosPoint and log scale
Posted: Fri Mar 30, 2007 3:10 am
I'm usind Builder 5 and TeeChart 5.02.
In the chart, I draw some custom lines with Canvas->MoveTo and LineTo, I can move the lines in the chart using the MouseMove event and CalcPosPoint to redraw the line on the new position. This works fine.
The problem is when I am using the log scale in the Axis, like Chart1->LeftAxis->Logarithmic. If I try to move the line, the slope changes as I move the mouse.
Thanks for any help.
Joao Medeiros
In the chart, I draw some custom lines with Canvas->MoveTo and LineTo, I can move the lines in the chart using the MouseMove event and CalcPosPoint to redraw the line on the new position. This works fine.
The problem is when I am using the log scale in the Axis, like Chart1->LeftAxis->Logarithmic. If I try to move the line, the slope changes as I move the mouse.
Thanks for any help.
Joao Medeiros