Pre loader

Tag: boxplot

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

1 vote

I was trying to create a box-and-whisker diagram using the Box Plot chart. Here I found the whisker line is not showing in my case. I have tried versions and None of them worked. But, interestingly, it is working fine in version
I am sharing a sample project. Can you please check and let me know if there is any issue with the updated versions? Or if I am missing anything here?

0 votes

Hello, I have the Boxplot working (in WPF) using Dates as X-Axis.

But if I try to use String values, I get the following exception:

‘La invocación del constructor del tipo ‘ReservoirAnalytics.Windows.Boxplots’ que coincide con las restricciones de enlace especificadas produjo una excepción.’ (número de línea: ’16’; posición de línea: ’10’).

Cannot create a DataDistributionCalculator for the type TX=System.String

Esta es la línea:
var boxDataSeries = new BoxPlotDataSeries<string, double>();

0 votes
0 answers


I been evaluation SciChart WPF trial version and I have a problem with BoxPlotDataSeries. Is possible to adjust bar width with box plot series? When I have a series with only one data point box plot is too wide. But when I have a series with multiple data point width is OK (see attached images). Is there something I am missing here? Or is the another bar chart type where I can set y1 and y2 points for each bar?

Here is XAML from my test program:

        <s:SciChartSurface x:Name="SciChartSurface" Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" Grid.ColumnSpan="3" RenderPriority="Normal"
            RenderableSeries="{s:SeriesBinding RenderableSeriesViewModels}" Rendered="SciChartSurface_OnRendered"
            ViewportManager="{Binding ViewportManager}">

                <Style x:Key="CirSeriesStyle" TargetType="s:FastBoxPlotRenderableSeries">
                    <Setter Property="StrokeThickness" Value="1"/> 

                <s:NumericAxis DrawMajorBands="True" VisibleRange="{Binding XRange}" AxisTitle="Delay" AxisAlignment="Bottom" AutoRange="Never"/>

                <s:NumericAxis DrawMajorBands="True" VisibleRange="{Binding YRange}" AxisTitle="dB" AxisAlignment="Left" AutoRange="Never"/>


            <!-- Add Zooming, Panning behaviours to the chart -->
            <!-- where xmlns:s="" -->
                    <!-- Allow drag to zoom on Left mouse -->
                    <s:RubberBandXyZoomModifier ExecuteOn="MouseLeftButton"
                        RubberBandStrokeDashArray="2 2"/>
                    <!-- Allow pan on Right mouse drag -->
                    <s:ZoomPanModifier ExecuteOn="MouseRightButton" ClipModeX="None" />
                    <!-- Allow Dragging YAxis to Scale -->
                    <s:YAxisDragModifier DragMode="Scale"/>
                    <!-- Allow Dragging XAxis to Pan -->
                    <s:XAxisDragModifier DragMode="Pan"/>
                    <!-- Allow Mousewheel Zoom -->
                    <!-- Allow Zoom to Extents on double click -->
                    <s:ZoomExtentsModifier ExecuteOn="MouseDoubleClick" />

Showing 3 results