Hello,
I am using a ChartBySampling control to trend several tags from my PLC. I'm unsure how to do the following with this -
- I'd like to be able to have the user set the x-axis time span, in hours. Not sure which property in my chart to change... I think it has something to do with the Chart Area property -> into the X-Axis property, then it's based off the Interval and IntervalType properties... so if my operator types in 2 hours, and i have interval set to 0.5 and interval type as seconds, the number I would need is 2 hours * 60 min/hr = 120 min * 60 sec/min = 7200 sec * 2 (0.5 second intervals) = 14400... but I'm not sure where to put this number.
- The YAxisMin and YAxisMax properties are doubles... so I can set those to a number and it works fine. But how do I set those properties to Auto from my code?