Changing Names of Series Plots
-
- Newbie
- Posts: 35
- Joined: Wed Dec 12, 2007 12:00 am
Changing Names of Series Plots
When I plot a series of 2D lines, a legend in a white box is displayed. On each line in the legend, it says, "Series 0", "Series 1", "Series 2" and so on. On each line, it displays the color of the line. How do I rename the names in the legend?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi marathoner,
Try using this:
Try using this:
m_Chart1.Series(0).SetTitle("MySeries");
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: 35
- Joined: Wed Dec 12, 2007 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi marathoner,
Yes, you need to use ShowInLegend property, for example:
Yes, you need to use ShowInLegend property, for example:
Code: Select all
m_Chart1.Series(0).SetShowInLegend(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 |