SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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 where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.



I’m trying to set the visible ranges of the X and YAxis with MVVM.

My xaml code looks like this:

        <!-- Define the SciChartSurface -->
        <SciChart:SciChartSurface Margin="5" x:Name="sciChartSurface"
                                  SciChart:ThemeManager.Theme="ExpressionDark" DataSet="{Binding ChartData, Mode=TwoWay}" ChartTitle="Lage rug vs romp"

            <!-- Declare RenderableSeries -->
                <SciChart:XyScatterRenderableSeries ResamplingMode="None">
                            <Ellipse Width="9" Height="9" Fill="SteelBlue" Stroke="LightSteelBlue" StrokeThickness="2"/>

            <!-- Create an X Axis -->
                <SciChart:NumericAxis DrawMinorTicks="False" DrawMinorGridLines="False" TextFormatting="0" AxisTitle="Romp" VisibleRange="{Binding Path=LowerBackXAxisVisibleRange}" >

            <!-- Create a Y Axis -->
                <SciChart:NumericAxis TickTextBrush="#FF4083B7" AxisAlignment="Left" AutoRange="False" DrawMinorTicks="False" DrawMinorGridLines="False" TextFormatting="0" AxisTitle="Lage rug" VisibleRange="{Binding Path=LowerBackYAxisVisibleRange}">
        </SciChart:SciChartSurface >

This works fine for the XAxis, but not for the YAxis.
Any idea?


  • You must to post comments

Hi Pat,

Could you try to specify Mode=”TwoWay” for binding explicitly and look if it helps? We couldn’t reproduce this issue on our side, but there were another similar requests and setting binding mode to TwoWay explicitly helped.

Best regards,

  • pray
    Yuriy, That solved my problem. Thanks. Pat
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.