Page 1 of 1

Border of legend icon for Bar Series

Posted: Fri Feb 19, 2010 8:48 am
by 15654986
Hi,

I have an issue with the border of the legend icon for my bar line.
First I add a line series to the chart with LinePen.Color set to Blue.
Then I add a second line being a Bar series with Bar.Pen color set to Red.
In the legend of my chart, the bar box has a blue border instead of a red border.

My sample code:

Code: Select all

 Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line();
 line.Color = System.Drawing.Color.Blue;
 line.LinePen.Color = System.Drawing.Color.Blue;
 line.LinePen.Width = 2;
 m_tchart.Series.Add(line);
 
 Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar();
 bar.Color = System.Drawing.Color.Green;
 bar.Pen.Color = System.Drawing.Color.Red;
 bar.Pen.Width = 3;
 bar.Brush.Transparency = 50;
 m_tchart.Series.Add(bar);
 fillWithSampleValues();
I found a similar bug on the forum (TF02010625) for v2, but in my v2009 I still have this problem.

Thanks,
Marijke.

Re: Border of legend icon for Bar Series

Posted: Fri Feb 19, 2010 4:34 pm
by yeray
Hi Marijke,

As I answered you in the your pro support mail...
Yeray wrote:I've been able to reproduce it and added it to the defect list to be fixed in future releases (TF02014690).

Thanks for reporting it.