Page 1 of 1

getting the mouse to highlight what I'm actually pointing at

Posted: Mon Mar 23, 2015 2:48 pm
by 16471571
Hi,

I just want to hear if you have a solution before making a dummy project for you to look at.

I have diffuculty getting the mouse to highlight what I'm actually pointing at when rotating the chart. I'm working with a ttowerseries in opengl.
opengl_ttowerseries_mouse_issue.png
opengl_ttowerseries_mouse_issue.png (71.16 KiB) Viewed 3328 times
What I want to get highlighted is the pyramid within the yellow circle, but what actually gets highlighted is the pyramid within the square.
It seems the chart is not "getting" my position of view but is still marking the pyramids as if I was viewing the chart from the original position before doing the rotation of the chart.

Can you help getting the perspective right?

I'm using Teechart Pro Vcl 2014

Best,
Johannes

Re: getting the mouse to highlight what I'm actually pointing at

Posted: Tue Mar 24, 2015 9:55 am
by yeray
Hello Johannes,

The Hover function relies on the click/clicked function that works with 2D and with 3D orthogonal charts but I'm afraid not with rotated charts.