I found a post on here regarding this topic but the link to the solution was a dead link.
I want to Autorange without affecting my zoom abilities. If I set AutoRange=”Always”, then I can’t zoom. If I set AutoRange=”Once”, then it does it the first time but I have to double click every time after that. What is the solution to this issue (This is an issue!). Fixing this would not be adding a new feature, it would be removing a problem within the code.
Edit: I think a solution would be to fire an event on DataSeries Changed. Is there an event that corresponds to this? I searched through the dependency properties and couldn’t find anything like that.
Edit: I used the Rendered event and called scichart.ZoomExtents(). I thought this would work, but it doesn’t resize properly either.
Edit: I want to add that I understand the use case for real time data, but I am looking at a snapshot. I can choose different snap shots but they don’t change once chosen. I need to update the range on each choice but then allow me to zoom in between.
Edit: I think that the scichart is being zoomed before the new dataseries is set. I can’t prove it, but that is what my gut tells me.
- Ryan Woods asked 8 years ago
- last edited 8 years ago
- You must login to post comments
Hi Ryan
A common problem! We have a number of FAQs and articles on this topic.
Hope this helps!
Best regards,
Andrew
- Andrew Burnett-Thompson answered 8 years ago
-
Hello Andrew, the funny thing is that, on the OnPropertyChanged event, even though the property is changed, it seems as if the binding is not set, yet. So, when we zoom to fit, the chart’s dataseries is not yet set.
-
Hi Ryan, I think we need to see your code (simple solution to reproduce is preferred as it greatly shortens investigation time). There is a known timing issue between appending data & calculated autoranges but if you set VisibleRange yourself then these are avoided
- You must login to post comments
Please login first to submit.