Narcis,
I have requirement where I have a Time vs Value plot drwan as a Line Series.
In my source data, I have Time column, Value column and a third colum which indicates the data quality for the Value.
I need help for:
1. Depending on the Dataquality of the value, I need the line color to be in specific color (cyan) different from the rest of the line.
2. While I am plotting multiple series in the chart, I would like to prevent Teechart from using Cyan by default for any other line series.
Could you please let me know how we can best acheive these features.
Thanks
Kalyan
Painting part of a series in a different color
Painting part of a series in a different color
--
Regards
Kalyan
Regards
Kalyan
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Kalyan,
1. In that case you can set Line's ColorEachLine property to true as described on this thread.
2. You can specify the color for each series, for example:
So that you don't have any series that repeat a color.
1. In that case you can set Line's ColorEachLine property to true as described on this thread.
2. You can specify the color for each series, for example:
Code: Select all
tChart1[0].Color=Color.Red;
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 |