Histogram Issues
Posted: Thu Aug 07, 2008 9:31 am
Hello,
i have found a few Issues (or Features?) in case of the histogram series style. If the Chart is 3D (Aspect.View3D) the histogram is already drawn in 2D. Also, the histogram doesnt really work in combination with marks. For example, i have written a little example to show the main differences between a histogram and bar series with the same configurations:
Is this behaviour provided? Is there any other Property, that i have not seen?
Thanks in advance!
i have found a few Issues (or Features?) in case of the histogram series style. If the Chart is 3D (Aspect.View3D) the histogram is already drawn in 2D. Also, the histogram doesnt really work in combination with marks. For example, i have written a little example to show the main differences between a histogram and bar series with the same configurations:
Code: Select all
Steema.TeeChart.TChart chart = new Steema.TeeChart.TChart();
chart.Dock = DockStyle.Fill;
this.Controls.Add(chart);
chart.Aspect.vi
Steema.TeeChart.Styles.Bar bars = new Steema.TeeChart.Styles.Bar();
Steema.TeeChart.Styles.Histogram histo = new Steema.TeeChart.Styles.Histogram();
bars.Add(2);
bars.Add(5);
bars.Add(3);
bars.Add(7);
histo.Add(4);
histo.Add(2);
histo.Add(5);
histo.Add(3);
bars.Marks.Visible = true;
bars.Marks.ArrowLength = 10; //distance to Point
histo.Marks.Visible = true;
histo.Marks.ArrowLength = 10; //distance to Point
chart.Series.Add(bars);
chart.Series.Add(histo);
Thanks in advance!