Page 1 of 1

Drawing on 3D Charts with DrawLineTool

Posted: Wed Nov 16, 2011 3:35 am
by 15660116
If I draw a Line on a 3D Chart with the Drawline Tool, the default position is 3D Coordinates. Is it possible to change the default drawing position to 2D Coordinates, so the line is always drawn at the mouse position, without having to consider 3D rotation of the chart?

Re: Drawing on 3D Charts with DrawLineTool

Posted: Thu Nov 17, 2011 5:13 pm
by 15660116
I want to be able to annotate a 3D chart with simple drawing tools using screen coordinates.

Re: Drawing on 3D Charts with DrawLineTool

Posted: Thu Nov 17, 2011 6:03 pm
by 15660116
I think I know how to do it...Put the drawline code in the afterdraw event of Teechart and use screen coordinates to draw the lines.. It was in the tutorial.

Re: Drawing on 3D Charts with DrawLineTool

Posted: Fri Nov 18, 2011 10:22 am
by 10050769
Hello lilo,

The solution as you have found is the correct way to do it. I am glad that you found it :)

Thanks,