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 TypeMethodDescriptionvoidaddItem(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.intReturns the number of section itemsfloatReturns section maximum value.floatReturns section minimum value.static ListgetSections(RMGraphRPG aGraphRPG) Returns the list of sections for the graph.floatReturns 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.
-