I currently have a 3D point series chart which has a custom bit of drawing on it under a AfterDraw event. This custom drawing is not part of the 3D and is static as the chart is rotated in 3D.
I want to update the chart to use OpenGL. I have initiated the OpenGl and it works fine except for the custom drawing which is now part of the 3D chart and rotates as the chart is rotated. The Z value of the custom drawing is set to 0. The actual drawing code does not use a ‘Z’ axis.
How do I make the custom drawing not to be part of the 3D surface while using OpenGL ?
I am using TChart 8 VCL.
Thanks
Frank
Custom drawing in OpenGL
Re: Custom drawing in OpenGL
I have found a solution to the problem. Using 'DisableRotation' before doing the drawing fixes it.
Frank
Frank