SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Hello, SciChart team,
i’m trying to ZoomExtents a chart, which is in in one tab of TabControl, from another tab, but it doesn’t change visible ranges.
i wanted to attach an example project, but every time i try i get “Forbidden” popup & nothing attaches (file size is 900 KB, format – “.zip”)
here’s link for an Example
please help with this not so large but unpleasant issue,
I believe this issue is caused by TabControl, which utilizes virtualization of its content by default. When a tab with a chart on it gets invisible, the SciChartSurface gets unloaded by the TabControl and becomes inactive. When you switch tabs again on button click, the SciChartSurface isn’t loaded at that moment so it cannot perform ZoomExtents.
I think if you delay the call to ZoomExtents using Timer it will work just fine.
Please login first to submit.