Nevron Forum

Possible Minor bug - circles at points disapear on line chart after zooming

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

By Richard Aidley - Friday, August 21, 2015

Hi, we're having a problem with the markers at points disapearing after zooming in. We have replicated this with slight modifications to the Nevron sample code.

Before zooming, has circles at data points;
https://www.nevron.com/forum/uploads/images/041976c9-b44a-4710-92f7-9d91.png


After zooming, these disapear

https://www.nevron.com/forum/uploads/images/95f72ad1-26dc-4490-9388-07ba.png
Interestingly, if you zoom in only a bit at a time this doesn't happen. If you carefuly zoom so that only one data point is removed, they keep their circles.

You can see this int the sample code, by adding the following to NStandardLine2DUC.xaml.cs at around line 85

            // configure interactivity
            NCartesianChart cartesian_chart = (NCartesianChart)nChartControl1.Charts[0];
            nChartControl1.Controller.Selection.Add(cartesian_chart);
            nChartControl1.Controller.Tools.Add(new NAxisScrollTool());
            nChartControl1.Controller.Tools.Add(new NDataZoomTool());           
            cartesian_chart.RangeSelections.Add(new NRangeSelection());
            cartesian_chart.Axis(StandardAxis.PrimaryX).ScrollBar.Visible = true;
            cartesian_chart.Axis(StandardAxis.PrimaryY).ScrollBar.Visible = true;

Thanks, Richard.

By Nevron Support - Friday, August 21, 2015

Hi Richard,
Thank you for bringing this problem to our attention - we've fix and the it will not appear in the upcoming SP (early next week). The problem was caused by optimization that reduces the number of items drawn when the chart is in zoomed state. Let us know if you meet any problems or have any questions.
By Richard Aidley - Friday, August 21, 2015

Thank you for your prompt action, I look forward to the SP