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

0
0

Hello.
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 };
    RenderableSeriesViewModels.Add(boxplotViewModel);
}

Same issue : https://www.scichart.com/questions/wpf/box-plot-width-setting

Version
6.3.0.13476
Attachments
Images
  • You must to post comments
0
0

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,
Oleksandr

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies