04-25-2022 04:19 PM
Is there an easy way to restrict the x-axis to a certain number of samples? For example, I'd like to display the most recent 3 minutes of data, discard the older data, and have the x-axis scale update the timestamps. I've done this before by externally managing the data and then updating the ChartCollection. But there's got to be an easier way. I'm using Visual Studio 2019 and Measurement Studio 2019.
Thanks.
Don
04-25-2022 07:15 PM
You can set the Adjuster on your horizontal axis to use ContinuousChart with an initial Range for your desired set of samples, and use FitVisibleLoosely on the vertical axis to update for samples in your viewport.