Class RMGraphSection
java.lang.Object
com.inductiveautomation.rm.graphing.RMGraphSection
Represents the data in the sections of a merged or separated graph.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRMGraphSection
(RMGraphRPG aGraphRPG, int anIndex) Creates a new graph section. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addItem
(int aSeriesIndex, int anItemIndex) Adds an item for the given series and series item.Returns the bounds of the section.getItem
(int anIndex) Returns the specific item at the given index.int
Returns the number of section itemsfloat
Returns section maximum value.float
Returns section minimum value.static List
getSections
(RMGraphRPG aGraphRPG) Returns the list of sections for the graph.float
Returns the total for all values in series.
-
Constructor Details
-
RMGraphSection
Creates a new graph section.
-
-
Method Details
-
getItemCount
public int getItemCount()Returns the number of section items -
getItem
Returns the specific item at the given index. -
addItem
public void addItem(int aSeriesIndex, int anItemIndex) Adds an item for the given series and series item. -
getMinValue
public float getMinValue()Returns section minimum value. -
getMaxValue
public float getMaxValue()Returns section maximum value. -
getSectionTotal
public float getSectionTotal()Returns the total for all values in series. -
getBounds
Returns the bounds of the section. -
getSections
Returns the list of sections for the graph.
-