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

I have followed the multiple series overview chart example

When the parent series changes I want the overview to reflect the new series. If I do the following and bind the VisibleRange to the parent chart axis VisibleRange then I get the relevant updates to the overview control but of course the visible range changes in the overview when I want it to remain static:

            </s:SciChartSurface.RenderSurface>
                <s:SciChartSurface.XAxis>
                    <s:DateTimeAxis VisibleRange="{Binding ElementName=OverviewChartControl,         
                                   Path=OverviewXAxis.VisibleRange}"                                      
                                    DrawMajorGridLines="False"
                                    DrawMinorGridLines="False"
                                    Visibility="Collapsed"/>
                </s:SciChartSurface.XAxis>

                <s:SciChartSurface.YAxes>
                    <s:NumericAxis VisibleRange="{Binding ElementName=OverviewChartControl,         
                                   Path=OverviewYAxis.VisibleRange}" 
                                   IsEnabled="False"  
                                   DrawMajorGridLines="False"
                                   DrawMinorGridLines="False"
                                   Visibility="Collapsed"/>
                </s:SciChartSurface.YAxes>

I have tried binding the VisibleRange to the VisibleRange of the parent chart as above. I get the VisibleRange update this way however the data range of the overview chart is not updated to reflect the extents of the new data so if for example a smaller range of data is presented in the new series, the data width of the overview will still reflect the previous data.

Is there a way to avoid this issue?

Version
4
  • Yuriy
    Hi Thomas, could you please post here some screenshots of what you are trying to solve for clarification?
  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.