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?
- Thomas Hutchinson asked 7 years ago
- last edited 7 years ago
-
Hi Thomas, could you please post here some screenshots of what you are trying to solve for clarification?
- You must login to post comments
Please login first to submit.