Hi,
What I want to have is a constant position of the items in the legend.
I explain myself: by default when I change the order of the traces during run-time in the TeeChart, the items in the legend also change.... and this is not what I want.
Is there any simple solution ?
Thanks
Fix legend items position
Fix legend items position
franckgar
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi franckgar,
By now there's no simple solution. I've included your request to our wish list (TV52010452) to be considered for future releases.
A workaround could be creating a not visible chart, copying it's legend as an image and then putting it on the visible chart legend rect.
A more complex solution would be deriving your own chart from TChart.
By now there's no simple solution. I've included your request to our wish list (TV52010452) to be considered for future releases.
A workaround could be creating a not visible chart, copying it's legend as an image and then putting it on the visible chart legend rect.
A more complex solution would be deriving your own chart from TChart.
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 |
Fix legend items position
I've found a solution ..... but there is also a problem...
Each time I add a new trace (not shown on the legend) on the graph I add a copy of this trace but with no data (shown on the legend).
Now, even if the position of the main traces are changed, the position of the items on the legend will never be modified.
but now there is another problem ....
when I zoom one of the main trace, the increment of the bottom axis is never changed (due to the empty traces I think). I mean that if I see (0, 1, 2) before the zoom, I will never see subdivision (for instance 1.2, 1.3, 1.4).
any idea ?
Each time I add a new trace (not shown on the legend) on the graph I add a copy of this trace but with no data (shown on the legend).
Now, even if the position of the main traces are changed, the position of the items on the legend will never be modified.
but now there is another problem ....
when I zoom one of the main trace, the increment of the bottom axis is never changed (due to the empty traces I think). I mean that if I see (0, 1, 2) before the zoom, I will never see subdivision (for instance 1.2, 1.3, 1.4).
any idea ?