Border of legend icon for Bar Series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
MVB
Newbie
Newbie
Posts: 7
Joined: Thu Dec 31, 2009 12:00 am

Border of legend icon for Bar Series

Post by MVB » Fri Feb 19, 2010 8:48 am

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.

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Border of legend icon for Bar Series

Post by Yeray » Fri Feb 19, 2010 4:34 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply