SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
We have a chart where we’re loading data in every second. If you don’t zoom in, the Overview/scrollbar control that we have beneath the chart stays to the right and keeps showing the most recent. However, once you zoom in and then call ZoomExtents() on the chart, it will zoom out but the Overview/scrollbar doesn’t go back to showing the latest; the max is stuck at whatever the time was when you called the ZoomExtents().
If I have the ZoomExtentsModifier on a chart and double-click, it does what I want so that’s what I’m trying to replicate without having the modifier enabled.
Thanks for your inquiry.
Please make sure your project is updated to the latest SciChart version, which is 220.127.116.1128 currently. You can also update to our latest nightly build. Here is how to do this:
If SciChart libraries are updated and you still experience this issue, please send us a small sample project reproducing this issue for investigation.
Thanks in advance,
I am actually on v18.104.22.16828, I just copied the wrong number previously.
As for my question, I wasn’t reporting a bug but asking a question on how to do something.
We don’t want our users double-clicking on the chart to call whatever the ZoomExtentsModifier is doing so I need to be able to replicate what it’s doing in code because we’ll be calling it from a ContextMenu.
So what I need to know is what all the ZoomExtentsModifier is doing when I double-click on the chart.
I believe part of it is calling the SciChartSurface.ZoomExtents() method but I have a feeling there is more than that.
Please login first to submit.