The legend rendering is incorrect with check boxes enabled for the legend and quite a few series on the chart.
I added 8 fastline series to a chart, which has a width of 700px.
The 7th series name displayed in the legend overruns the legend boundery on the right as well as the legend being to far left, starting at a negative position.
Is this a known problem? What can I do to overcome this?
Regards
Wiaan
Incorrect rendering of legend (check boxes enabled)
Hi Wiaan,
are you using the latest build available ?
I've tried here and it works fine. Could you please post the code you're using to reproduce the problem ?
are you using the latest build available ?
I've tried here and it works fine. Could you please post the code you're using to reproduce the problem ?
Pep Jorge
http://support.steema.com
http://support.steema.com
Incorrect rendering of legend (check boxes enabled)
Did I forget to mention that it is positioned "Top"?
this.tChart2 = new Steema.TeeChart.TChart();
this.fastLine1 = new Steema.TeeChart.Styles.FastLine();
this.fastLine2 = new Steema.TeeChart.Styles.FastLine();
this.fastLine3 = new Steema.TeeChart.Styles.FastLine();
this.fastLine4 = new Steema.TeeChart.Styles.FastLine();
this.fastLine5 = new Steema.TeeChart.Styles.FastLine();
this.fastLine6 = new Steema.TeeChart.Styles.FastLine();
this.fastLine7 = new Steema.TeeChart.Styles.FastLine();
this.fastLine8 = new Steema.TeeChart.Styles.FastLine();
this.fastLine9 = new Steema.TeeChart.Styles.FastLine();
this.fastLine10 = new Steema.TeeChart.Styles.FastLine();
this.tChart2.Legend.Alignment = steema.TeeChart.LegendAlignments.Top;
this.tChart2.Legend.CheckBoxes = true;
this.tChart2.Name = "tChart2";
this.tChart2.Series.Add(this.fastLine1);
this.tChart2.Series.Add(this.fastLine2);
this.tChart2.Series.Add(this.fastLine3);
this.tChart2.Series.Add(this.fastLine4);
this.tChart2.Series.Add(this.fastLine5);
this.tChart2.Series.Add(this.fastLine6);
this.tChart2.Series.Add(this.fastLine7);
this.tChart2.Series.Add(this.fastLine8);
this.tChart2.Series.Add(this.fastLine9);
this.tChart2.Series.Add(this.fastLine10);
this.tChart2.Size = new System.Drawing.Size(700, 350);
this.tChart2 = new Steema.TeeChart.TChart();
this.fastLine1 = new Steema.TeeChart.Styles.FastLine();
this.fastLine2 = new Steema.TeeChart.Styles.FastLine();
this.fastLine3 = new Steema.TeeChart.Styles.FastLine();
this.fastLine4 = new Steema.TeeChart.Styles.FastLine();
this.fastLine5 = new Steema.TeeChart.Styles.FastLine();
this.fastLine6 = new Steema.TeeChart.Styles.FastLine();
this.fastLine7 = new Steema.TeeChart.Styles.FastLine();
this.fastLine8 = new Steema.TeeChart.Styles.FastLine();
this.fastLine9 = new Steema.TeeChart.Styles.FastLine();
this.fastLine10 = new Steema.TeeChart.Styles.FastLine();
this.tChart2.Legend.Alignment = steema.TeeChart.LegendAlignments.Top;
this.tChart2.Legend.CheckBoxes = true;
this.tChart2.Name = "tChart2";
this.tChart2.Series.Add(this.fastLine1);
this.tChart2.Series.Add(this.fastLine2);
this.tChart2.Series.Add(this.fastLine3);
this.tChart2.Series.Add(this.fastLine4);
this.tChart2.Series.Add(this.fastLine5);
this.tChart2.Series.Add(this.fastLine6);
this.tChart2.Series.Add(this.fastLine7);
this.tChart2.Series.Add(this.fastLine8);
this.tChart2.Series.Add(this.fastLine9);
this.tChart2.Series.Add(this.fastLine10);
this.tChart2.Size = new System.Drawing.Size(700, 350);
Hi Wiaan,
in that case, yes, you're correct, it's a known bug. It's already added on our deffect list and a fix for it will be considered to inclusion for the next maintenance releases.
in that case, yes, you're correct, it's a known bug. It's already added on our deffect list and a fix for it will be considered to inclusion for the next maintenance releases.
Pep Jorge
http://support.steema.com
http://support.steema.com