Hi,
I'm trying to get the Series underneath the cursor but if View3D is enabled then I seem to be getting random results, the code seems to be working fine if I set View3D to False.
My Series style is Rectangle.
I'm using the newest TeeChart Pro for VCL on XE5.
Thanks!
Seppo
TDBChart View3D and CalcClickedPart
Re: TDBChart View3D and CalcClickedPart
Hello,
There are some tickets at our bug/wish tracking system that could be related to this. Could you please check them?
If you think they are not explaining the very same case you have noticed, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Also please take a look at the "How to post in this forum" instructions below in my signature
There are some tickets at our bug/wish tracking system that could be related to this. Could you please check them?
If you think they are not explaining the very same case you have noticed, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Also please take a look at the "How to post in this forum" instructions below in my signature
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TDBChart View3D and CalcClickedPart
It uses two different methods, CalcClickedPart and Clicked on a series. They seem to give the same (incorrect) results. There's also a checkbox to toggle 2D mode and in that mode the methods work correctly.
Thanks!
Seppo
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TDBChart View3D and CalcClickedPart
Hi Seppo,
Thanks for the example project. The Clicked function works with 2D charts and 3D orthogonal charts but not with 3D non-orthogonal rotated charts. Having that in mind, It works fine with Chart1.Aspect.Orthogonal set to true, for example:
As Yeray already suggested, this is ID305 and it comes from the difficulty from converting screen 2D coordinates to real 3D coordinates. I have increased the importance of the bug and attached your project to it.
Thanks for the example project. The Clicked function works with 2D charts and 3D orthogonal charts but not with 3D non-orthogonal rotated charts. Having that in mind, It works fine with Chart1.Aspect.Orthogonal set to true, for example:
Code: Select all
Chart1.Aspect.Orthogonal:=True;
Best Regards,
Narcís Calvet / 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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TDBChart View3D and CalcClickedPart
Hi Seppo,
This issue has been fixed now as you can see at David Berneda's comments: http://bugs.teechart.net/show_bug.cgi?id=305#c3
This issue has been fixed now as you can see at David Berneda's comments: http://bugs.teechart.net/show_bug.cgi?id=305#c3
Best Regards,
Narcís Calvet / 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 |