Pre loader

Fixing multiple series overview chart on series changed

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

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 Zadereckiy
    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.

Try SciChart Today

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

Start TrialCase Studies