Hi,
I have a small problem with my good old Teechart V5:
Changing "Aspect" properties programatically (e.g. Aspect.Rotation Aspect.Elevation) has no immediate effect.
A "Repaint" after the Aspect properties are changed programatically has no effect either.
First after changing some properties interactively (using the TeeCommander and the mouse) the settings changed programatically takes effect.
Any ideas to a workaround ?
Regards
Morten
Changing Aspect properties programatically
-
- Newbie
- Posts: 4
- Joined: Wed Sep 12, 2007 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Morten,
Instead of Repaint you can try using this:
.
Instead of Repaint you can try using this:
Code: Select all
TChart1.Environment.InternalRepaint
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 |
-
- Newbie
- Posts: 4
- Joined: Wed Sep 12, 2007 12:00 am
Hi ,
No luck with Environment.InternalRepaint either.
It appears as if the behaviour is related to the fact that these two "Aspect" properties , Aspect.Rotation Aspect.Elevation, cannot be changed with the "TeeEditor" either. Aparently the only way to force an effect of changing the parameters is to "rotate" the graph with the mouse.
Strange !
Regards
Morten
No luck with Environment.InternalRepaint either.
It appears as if the behaviour is related to the fact that these two "Aspect" properties , Aspect.Rotation Aspect.Elevation, cannot be changed with the "TeeEditor" either. Aparently the only way to force an effect of changing the parameters is to "rotate" the graph with the mouse.
Strange !
Regards
Morten
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Morten,
Ok, to be able to modify those properties you need to set the chart to non-orthogonal:
Ok, to be able to modify those properties you need to set the chart to non-orthogonal:
Code: Select all
TChart1.Aspect.Orthogonal = False
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 |
-
- Newbie
- Posts: 4
- Joined: Wed Sep 12, 2007 12:00 am