Hi,
I've found a workaround for this issue. For axis being reseted, I just check if there are more ZoomedRanges than this one (of course this will work only if axis.PagingView.ResetMode == PagingViewResetMode.LastZoom).
Please see the code below:
private bool IsChartZoomed(NAxis axis) { return IsAxisZoomed(chartControl.Charts[0].Axis(StandardAxis.PrimaryX), axis) || IsAxisZoomed(chartControl.Charts[0].Axis(StandardAxis.PrimaryY), axis); } private bool IsAxisZoomed(NAxis axis, NAxis resetAxis) { bool isZoomed = false; if (axis == resetAxis) { isZoomed = (axis.PagingView.ZoomedRanges.Count > 1); } else { isZoomed = axis.PagingView.Enabled; } return isZoomed; }
From Reset event of axis scrollbar I call IsChartZoomed, passing (NAxis)((NScrollBar)sender).ParentNode as parameter. In all other cases I just pass null.
It works fine for me now, but it will be much better to have something built-in.
Regards,
Vladimir