SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
FYI: The “Post your feature request here!” link gives a 404.
I would like to see a feature implemented where the AutoRange can be applied for current data displayed in the plot (this is the current functionality of AutoRange) but also apply auto scaling based on the data displayed so far in the plot (AutoRangeHistory (e.g.)).
I frequently have FIFO plots showing realtime data coming in, and it would be very nice if the data in the plot only is auto scaled if the new data added is larger (or smaller) than any previously displayed value.
if (newData.Max() > _maxValueSeenSoFar) _maxValueSeenSoFar = newData.Max(); AutoScale.Max = _maxValueSeenSoFar; DoAutoScale();
There should also be a ResetAutoRangeHistory to reset the scaling.
Thanks for the suggestion! Possibly we could implement this with a ViewportManager. Are you aware of this feature?
You can derive from DefaultViewportManagerBase and override OnCalculateNewYRange() to output the desired result.
The base class will do normal AutoRanging (or just pass through the axis visiblerange if AutoRange is off). You can override this behaviour to do what you like e.g. return ranges based on history.
Hope this helps!
Please login first to submit.