User (Legacy) Posted May 3, 2004 Report Share Posted May 3, 2004 Hi! I am trying to use the boxplot but having no luck at all. I have measurements which range from 0.0 to 1.0. Measurements are grouped by week, each week in a separate series. I would like to display a boxplots, one for each week, for many weeks, in one chart. I open the chart for loading data like this: chart.OpenData(SoftwareFX.ChartFX.COD.Values | SoftwareFX.ChartFX.COD.AllocHidden, numberOfWeeks, -1); Then each week is given a unique seriesIndex int value, and I load values for each series like this: chart.Value[seriesIndex, 0] = Convert.ToDouble(rangeValue); Now, this is "jagged" data. Not all the series have the same number of datapoints. I close the dataset: chart.CloseData(SoftwareFX.ChartFX.COD.Values); Then I add the boxplot: statistics.Chart = chart; chart.GalleryObj = statistics.Gallery.BoxPlot; My chart is blank! What am I doing wrong?! Thanks, CM Link to comment Share on other sites More sharing options...
Software FX Posted May 4, 2004 Report Share Posted May 4, 2004 In principle everything seems ok. You are passing the data the right way, each series will become a box-plot, you will get as many box-plots as series you originally have. The only thing I can think of being wrong is the data itself. Each series must contain a certain amount of different values in order for the box-plot to be calculated. Please verify the data of your chart by switching to a regular chart type (e.g. bar chart) and turning on the data editor. Please attach the data if you can't figure out what is wrong. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.