Series Color missing in Legend.
Series Color missing in Legend.
Series Color is missing when I add Multiple Lines to a chart. However when I set the FontSeriesColor to true that is correct.
Re: Series Color missing in Legend.
Interestingly when I changed from Line to FAstLine this resolved the issue. No idea why
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Series Color missing in Legend.
Hi Luke,
This is most likely because ColorEach property is set to true. Not painting the legend symbol when having different colors for each point in the series is designed behavior. Using code snippet below works fine, setting ColorEach to true reproduces what you reported.
This is most likely because ColorEach property is set to true. Not painting the legend symbol when having different colors for each point in the series is designed behavior. Using code snippet below works fine, setting ColorEach to true reproduces what you reported.
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
for (int i = 0; i < 5; i++)
{
tChart1.Series.Add(new Steema.TeeChart.Styles.Line());
tChart1[i].FillSampleValues();
tChart1[i].ColorEach = 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 |