Pre loader

Boxplot Width setting

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


I added the data to each BoxPlotDataSeriesas shown in the code below.
Boxplot widths are not the same as the image below.
Please let me know can we change the size of the box plot chart.

IEnumerable<BoxPoint> boxData = GetBoxPlotData().ToArray();

RenderableSeriesViewModels = new ObservableCollection<IRenderableSeriesViewModel>();
foreach (var data in boxData)
    var boxDataSeries = new BoxPlotDataSeries<double, double>();
    boxDataSeries.Append(data.XValue, data.Median, data.Minimum, data.LowerQuartile, data.UpperQuartile, data.Maximum);

    var boxplotViewModel = new BoxPlotRenderableSeriesViewModel { DataSeries = boxDataSeries };

Same issue :

  • You must to post comments

Hello Isol,

Thanks for your inquiry.
Unfortunately, it is not possible to specify the Width for a BoxPlot bar. It is always calculated automatically. You can only specify the relative width of a bar via the DataPointWidth property. It accepts values from [0,1] range and specifies a fraction of the available space that a Bar should occupy.

With best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.