Getting X, Y and Z values on mouseover

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TL123
Newbie
Newbie
Posts: 9
Joined: Wed Jan 27, 2016 12:00 am

Getting X, Y and Z values on mouseover

Post by TL123 » Mon Feb 15, 2016 1:30 pm

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

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Getting X, Y and Z values on mouseover

Post by Christopher » Mon Feb 22, 2016 3:34 pm

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

TL123
Newbie
Newbie
Posts: 9
Joined: Wed Jan 27, 2016 12:00 am

Re: Getting X, Y and Z values on mouseover

Post by TL123 » Mon Feb 22, 2016 4:04 pm

Ok, thanks for looing into this

Post Reply