Class RMGraphIntervals
- java.lang.Object
-
- com.inductiveautomation.rm.graphing.RMGraphIntervals
-
public class RMGraphIntervals extends java.lang.Object
Returns a list of graph intervals given a range and count. If count is zero, this class will determine a proper count.
-
-
Constructor Summary
Constructors Constructor Description RMGraphIntervals(float minValue, float maxValue, int aCount)
Return well-chosen intervals given a min/max value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RMGraphIntervals
getGraphIntervals(RMGraphRPG aGraphRPG)
Returns graph intervals for a given graph.java.lang.Float
getInterval(int anIndex)
Returns the individual interval at a given index as a float value.int
getIntervalCount()
Returns the number of intervals for this filled graph.java.lang.Float
getIntervalLast()
Returns the last interval as a float value.
-
-
-
Method Detail
-
getGraphIntervals
public static RMGraphIntervals getGraphIntervals(RMGraphRPG aGraphRPG)
Returns graph intervals for a given graph.
-
getIntervalCount
public int getIntervalCount()
Returns the number of intervals for this filled graph.
-
getInterval
public java.lang.Float getInterval(int anIndex)
Returns the individual interval at a given index as a float value.
-
getIntervalLast
public java.lang.Float getIntervalLast()
Returns the last interval as a float value.
-
-