I’ve got couple of questions.
Is there a way to automatically change the visible x axis range once we change the DataSeriesSet?
What is the purpose of AutoRange property? If AutoRange is true, it doesn’t allow to zoom the chart. Is there a way to enable zooming when AutoRange true?
Please, take a look at Zoom in a chart with live data post, where similar question is discussed. Also you may look at Data series append and chart redrawing thread for additional info on this topic. Hope you’ll find answer there, if not, please, feel free to ask, we are glad to help!
You also could consider using of ViewportManager, which has the same method instead. This is more general approach, because allows you to work with chart series using both DataSeriesSet and SeriesSource.
var viewportManager = new DefaultViewportManager(); viewportManager.InvalidateParentSurface(RangeMode.ZoomToFit);
You could take a look at our Drag treshold example to see this approach in action.
Hope this helps!
Please login first to submit.