Border of legend icon for Bar Series
Posted: 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:
I found a similar bug on the forum (TF02010625) for v2, but in my v2009 I still have this problem.
Thanks,
Marijke.
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();
Thanks,
Marijke.