Class RMGraphIntervals
java.lang.Object
com.inductiveautomation.rm.graphing.RMGraphIntervals
Returns a list of graph intervals given a range and count. If count is zero, this class will determine a proper
 count.
- 
Constructor SummaryConstructorsConstructorDescriptionRMGraphIntervals(float minValue, float maxValue, int aCount) Return well-chosen intervals given a min/max value.
- 
Method SummaryModifier and TypeMethodDescriptionstatic RMGraphIntervalsgetGraphIntervals(RMGraphRPG aGraphRPG) Returns graph intervals for a given graph.getInterval(int anIndex) Returns the individual interval at a given index as a float value.intReturns the number of intervals for this filled graph.Returns the last interval as a float value.
- 
Constructor Details- 
RMGraphIntervalspublic RMGraphIntervals(float minValue, float maxValue, int aCount) Return well-chosen intervals given a min/max value. For instance, (1,4) would return (1,2,3,4,5), while (17,242) would return (50,100,150,200,250). Useful methods for graphing.
 
- 
- 
Method Details- 
getGraphIntervalsReturns graph intervals for a given graph.
- 
getIntervalCountpublic int getIntervalCount()Returns the number of intervals for this filled graph.
- 
getIntervalReturns the individual interval at a given index as a float value.
- 
getIntervalLastReturns the last interval as a float value.
 
-