From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-11-2006 11:14 AM
08-15-2006 03:35 AM
Maybe I need to manually scale the y axis? I was hoping I wouldn't have to...
Can anyone help, please?
08-15-2006 10:24 AM
yAxis1.Range =
new Range(min, max);
Hope this helps.
08-15-2006 10:34 AM
08-15-2006 10:46 AM
Thanks guys,
I've tried AutoScaleExact and AutoScaleLoose but neither option lets the scale shrink.
I've implemented some manual scaling very simlar to the snippet provided by Bilal. I've increased my historycapacity setting slightly so that the Y scale doesn't start to shrink immediately after th peak disapears.
The only other possibility I can think of is extacting the data history from the plot, clearing the plot completly and then redrawing the chart with just the current 60 seconds worth of data and see how the Y scale behaves then!
Mike
11-08-2006 08:07 AM
11-08-2006 08:13 AM
11-08-2006 08:15 AM
11-08-2006 08:18 AM