Hi Vladimir,
We just tested the control with the following code:
NCartesianChart chart = (NCartesianChart)nChartControl1.Charts[0];
DateTime today = DateTime.Today;
double oaSecond = today.AddSeconds(1).ToOADate() - today.ToOADate();
NRangeSelection rangeSelection = new NRangeSelection();
rangeSelection.HorizontalValueSnapper = new NAxisRulerClampSnapper();
rangeSelection.VerticalValueSnapper = new NAxisRulerClampSnapper();
rangeSelection.MinHorizontalPageSize = oaSecond;
rangeSelection.MinVerticalPageSize = 0.001;
rangeSelection.ZoomOutResetsAxis = false;
chart.RangeSelections.Add(rangeSelection);
chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator = new NDateTimeScaleConfigurator();
chart.Axis(StandardAxis.PrimaryX).ScrollBar.Visible = true;
chart.Axis(StandardAxis.PrimaryY).ScrollBar.Visible = true;
NPointSeries point = new NPointSeries();
point.UseXValues = true;
point.DataLabelStyle.Visible = false;
for (int i = 0; i < 100; i++)
{
point.Values.Add(i / 1000.0);
point.XValues.Add(today.ToOADate());
today = today.AddSeconds(1);
}
chart.Series.Add(point);
nChartControl1.Controller.Tools.Add(new NSelectorTool());
nChartControl1.Controller.Tools.Add(new NAxisScrollTool());
nChartControl1.Controller.Tools.Add(new NDataZoomTool());
and it was working properly. Can you try to download the latest version from our website and confirm the problem appears there?
Best Regards,
Nevron Support Team