Nevron Forum

Method oAxis.PagingView.ZoomedRanges.Peek() missing in new version Nevron Vision for .NET 2018.1 for VS2017 .NET 4.5 (build version: 18.10.24.12)

https://www.nevron.com/Forum/Topic12625.aspx

By joern kunze - Thursday, October 25, 2018

Hi Experts,

I just updated Nevron Chart component for my WinForms projects to the latest version - and now I get an error because the method oAxis.PagingView.ZoomedRanges.Peek() is missing. 
Why is that and how am I supposed to replace this method ?

Thanks for your help,
best regards,
Joern
By Nevron Support - Thursday, October 25, 2018

Hi Joern,
The ZoomedRanges stack was replaced with list so the code should be rewritten as:
oAxis.PagingView.ZoomedRanges[oAxis.PagingView.ZoomedRanges.Count - 1]
Hope this helps - let us know if you meet any problems.