Page 1 of 1

Getting X, Y and Z values on mouseover

Posted: Mon Feb 15, 2016 1:30 pm
by 15677528
Hi,

I have tried to implement this:
http://www.teechart.net/support/viewtopic.php?p=15912
But it only works for X and Y in 2D. If I enable 3D all values are wrong compare with the axis values.
Is it possible to get all 3 when 3D is enabled and if so how?

Regards Torben

Re: Getting X, Y and Z values on mouseover

Posted: Mon Feb 22, 2016 3:34 pm
by Christopher
Hello Torben,
TL123 wrote: Is it possible to get all 3 when 3D is enabled and if so how?
Firstly, apologies for the lateness in this reply. I'm also afraid to say that what you ask for is not possible - GDI+ is not a 3D graphics library, and such 3D that there is in TeeChart uses matrix calculations for generating 3D perspectives which do not store any of their values, making recuperation of (X, Y, Z) values impossible from the (X, Y) location given by the GDI+ mouse.

Re: Getting X, Y and Z values on mouseover

Posted: Mon Feb 22, 2016 4:04 pm
by 15677528
Ok, thanks for looing into this