SeriesGroups in second legend
SeriesGroups in second legend
I just started to use the SeriesGroups and would like to know if there is a way to show the groups in a second legend. What I would like to do is use the second legend to show or hide groups of series. I need it to be in a second legend because I would also like the user to be able to hide or show an individual series with the checkboxes. Also I would like the main legend to only show the series that are in a selected group. Is this possible?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi johnk,
You can use an Extra Legend tool as shown at the All Features\Welcome !\Tools\Extra Legend example in the TeeChart's features demo available at its program group.
You can use an Extra Legend tool as shown at the All Features\Welcome !\Tools\Extra Legend example in the TeeChart's features demo available at its program group.
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 |
Thanks for the reply. I looked at the Extra Legend tool and this is almost what I need. I can't figure out how to populate the extra legend with the name of each series group. The idea is that I would have several groups. For example:
SeriesGroup 1
series1
series2
series3
SeriesGroup 2
series1a
series2a
series3a
etc.
I'd like my main legend with checkboxes to display
"series1"
"series2"
"series3"
and the extra legend with checkboxes displays
"SeriesGroup1"
"SeriesGroup2"
Thanks.
SeriesGroup 1
series1
series2
series3
SeriesGroup 2
series1a
series2a
series3a
etc.
I'd like my main legend with checkboxes to display
"series1"
"series2"
"series3"
and the extra legend with checkboxes displays
"SeriesGroup1"
"SeriesGroup2"
Thanks.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi johnk,
Then the solution is drawing a custom legend on TeeChart's canvas using its Rectangle and TextOut methods. You can also add checkboxes to this custom legend so that you already have the checkboxes events interactivity.
You can find examples on how to custom draw on TeeChart's canvas at All Features\Welcome !\Canvas\ in TeeChart's features demo. The demo is available at TeeChart's program group.
Then the solution is drawing a custom legend on TeeChart's canvas using its Rectangle and TextOut methods. You can also add checkboxes to this custom legend so that you already have the checkboxes events interactivity.
You can find examples on how to custom draw on TeeChart's canvas at All Features\Welcome !\Canvas\ in TeeChart's features demo. The demo is available at TeeChart's program group.
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 |