Hi there,
I use the TSurfaceSeries in OpenGl mode. I need the distance to the left axis and the distance to zero point from underneath (in px). I would like move and rotate the Chart.
The values of ChartRect not change if i rotate or move.
I need the distance to calculate the corsor position in my Chart.
See the Image:
Thanks in advance,
Dennis
Problem with Chart Position in OpenGl Mode
Re: Problem with Chart Position in OpenGl Mode
Hi Dennis,
You could try doing something similar to the Calculate2DPosition call in the example here
You could try doing something similar to the Calculate2DPosition call in the example here
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with Chart Position in OpenGl Mode
Hi Yeray,
Thanks for the answer, but the problem is not resolved. The x-Position is isn't exact to 100%,
if i use normal mode with opengl and not orthogonal mode. And the y-Postion is wrong. I need the cursor position from the point of origin. I've uploaded an example program.
Thanks in advance,
Dennis
Thanks for the answer, but the problem is not resolved. The x-Position is isn't exact to 100%,
if i use normal mode with opengl and not orthogonal mode. And the y-Postion is wrong. I need the cursor position from the point of origin. I've uploaded an example program.
Thanks in advance,
Dennis
- Attachments
-
- Example3D.zip
- (85.29 KiB) Downloaded 323 times
Re: Problem with Chart Position in OpenGl Mode
Hi Dennis,
Right, the CalcXPos, CalcYPos functions seem not to work perfectly in OpenGL. I've just realized it was already identified (TV52015408).
Right, the CalcXPos, CalcYPos functions seem not to work perfectly in OpenGL. I've just realized it was already identified (TV52015408).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with Chart Position in OpenGl Mode
Hi Yeray,
is there another possibility to calculate a cross cursor on the x,y,z Value, if I move over with the mouse?
Thanks in advance,
Dennis
is there another possibility to calculate a cross cursor on the x,y,z Value, if I move over with the mouse?
Thanks in advance,
Dennis
Re: Problem with Chart Position in OpenGl Mode
Hi Dennis,
I'm afraid I can't think on another way to do it right now. There is the TSurfaceNearestTool but it uses the Clicked function that at the same time uses the CalcXPosValue/CalcYPosValue function...
I'm afraid I can't think on another way to do it right now. There is the TSurfaceNearestTool but it uses the Clicked function that at the same time uses the CalcXPosValue/CalcYPosValue function...
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |