Hi,
I have a real-time chart that has a time x-axis with a scrolling range of 1 hour. Every second a new data point is added to the graph.
Currently, my RTScrollFrame automatically rescales the associated x-axis coordinates XScaleStart and XScaleStop after the latest added datapoint has a value greater (or equal?) to the current XScaleStop.
I was wondering if there is a built-in RTScrollFrame setting that instead of waiting until the latest added datapoint is greater than the current XScaleStop, the RTScrollFrame can trigger its x-axis rescaling algorithm when the latest datapoint surpasses say, 90% of the coordinates x-axis range?
So instead of the timestamp at 60 minutes causing a rescale, a timestamp of 54 minutes causes a rescale on the chart with an x-axis range of 0 - 60 minutes.
I'm trying to ensure there is always at least 10% whitespace leading the latest datapoint.
Thanks
QCRTGraphNet Version 2.2.0.4
|