SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

0
0

Hi

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}">

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

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

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

            <s:SciChartSurface.RenderSurface>
                <s3D:Direct3D11RenderSurface 
                    InitializationFailed="Direct3D11RenderSurface_OnInitializationFailed"
                    RenderingFailed="Direct3D11RenderSurface_OnRenderingFailed"/>
            </s:SciChartSurface.RenderSurface>

            <!-- Add Zooming, Panning behaviours to the chart -->
            <!-- where xmlns:s="http://schemas.abtsoftware.co.uk/scichart" -->
            <s:SciChartSurface.ChartModifier>
                <s:ModifierGroup>
                    <!-- 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 -->
                    <s:MouseWheelZoomModifier/>
                    <!-- Allow Zoom to Extents on double click -->
                    <s:ZoomExtentsModifier ExecuteOn="MouseDoubleClick" />
                </s:ModifierGroup>
            </s:SciChartSurface.ChartModifier>

        </s:SciChartSurface>
Version
5.0.0.10963
Images
  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.