SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
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.