Histogram Issues

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
AIS
Newbie
Newbie
Posts: 70
Joined: Wed Jun 25, 2008 12:00 am

Histogram Issues

Post by AIS » 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:

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);
Is this behaviour provided? Is there any other Property, that i have not seen?

Thanks in advance!

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Re: Histogram Issues

Post by Christopher » Thu Aug 07, 2008 2:04 pm

Hello,
AIS wrote:If the Chart is 3D (Aspect.View3D) the histogram is already drawn in 2D.
This is by design. If you're looking for a 3D effect then probably best to use an Area series with Stairs=true;
AIS wrote: Also, the histogram doesnt really work in combination with marks.
Marks do appear, but there is a problem with the Marks.ArrowLength for the histogram series. I've added this defect with number TF02013316 to our bug-tracking software.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Post Reply