08-06-2012 09:48 AM
I programatically change the range of my X Axis under various circumstances in my program. After the range is changed, the method then calls another method to plot data. However, when I enter the new method, the new range now has what I set for the minimum as the maximum. Why is the range changing on me?
Solved! Go to Solution.
08-06-2012 09:56 AM
Hi,
Are you setting the axis mode to fixed?
ScatterGraph1.XAxes.Item(0).Mode = AxisMode.Fixed ScatterGraph1.XAxes.Item(0).Range = New Range(0, 10)
Curt
08-06-2012 10:00 AM
I'm using a Waveform Plot and have the mode set as ScopeMode so when my data exceeds the visible range, it will move over. I tried switching it to AxisMode.Fixed and I still have the same problem.
08-06-2012 10:15 AM
Can you post some of the code?
08-06-2012 10:34 AM
I found my problem. I said I changed it to AxisMode.Fixed and still had the problem but that's because I am using 2 graphs and only changed the property on one graph but not the other. Since I have the graphs linked (via code) so they always show the same range, I was still having the problem. As soon as I changed the second graph to AxisMode.Fixed, I no longer had this problem.
Thanks!