Change the Colour of a Series (Line Chart) for part of Serie
Change the Colour of a Series (Line Chart) for part of Serie
Is there no way that the colour of the line can be changed for a certain part of Line? Using latest version for .Net. You can changed the markers, and even change the colour for each line. But I want the colour of the line between 2 dates to be a different colour to the rest.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Luke,
Yes, you can use ColorEachLine property, for example:
Yes, you can use ColorEachLine property, for example:
Code: Select all
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
line1.ColorEachLine = true;
line1.Add(5);
line1.Add(2);
line1.Add(6);
line1.Add(8, Color.Lime);
line1.Add(2);
line1.Add(4);
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 |