Boxplot series. The values must be sorted ?!?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Lars Iversen
Newbie
Newbie
Posts: 61
Joined: Wed Jun 22, 2005 4:00 am
Location: cph

Boxplot series. The values must be sorted ?!?

Post by Lars Iversen » Thu Jun 07, 2007 11:54 am

Hi

I'm trying to create boxplots. I add values to a boxplot series in random order. That seems to create some very odd looking boxes. If I sort my data first and then add it to the series in a sorted maner the boxes look ok.
So my question is. Can I add the data in random order and then sort the series's points afterwards before teechart draws the box?

Thanks in advance
Lars Iversen

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Thu Jun 07, 2007 1:14 pm

Hi, Lars.

The internal calculations (median, percentiles) assume ordered values i.e. you must order the values before you add them to box series.
Marjan Slatinek,
http://www.steema.com

Post Reply