02-01-2016 05:09 PM
platform: MStudioVS2010( measurment studio for vs 2010)
the Adjuster is {FitLoosely}
the PreferIndexData property is set to False
The name of the time axis is xAxis
Set a new range by following code
xAxis.Range = newRange;
I set the range as 1 second, The axis on wfp show 19.
If I set the the Adjuster to RangeAdjuster.None.
The axis range on wfp show 1. however, the plots on graph were not updated.
02-02-2016 10:23 AM
Hi cckyle,
The range will change if you have an Adjuster set, which would explain why you are seeing an axis of 19. However, if you set the Adjuster to None then you should not see a changing axis. That being said, your range should be more than one value. The range property should be set as follows
<ni:AxisDouble Range="min, max, System.Double" />
What do you mean by a range of 1? Is that the min or max value in your range? What is the other value? Would you mind sharing that snippet of your code?