Class RMGraphSeries
java.lang.Object
com.inductiveautomation.rm.graphing.RMGraphSeries
A class to represent a graph series, contains a list of series items.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA class to represent an individual item inside a graph series, including its key, group, value and bar/wedge shape. -
Constructor Summary
ConstructorsConstructorDescriptionRMGraphSeries(String aTitle, String aKey, RMGroup aGroupList) Creates a new series. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd item for given key/group.getItem(int anIndex) Returns the individual series item at the given index.intReturns the number of items in this series.getKey()Returns the key for this series.static List<RMGraphSeries>getSeries(RMGraphRPG aGraphRPG) Returns the graph series for a given graph.floatReturns the total for all values in series.getTitle()Returns the title for this series.
-
Constructor Details
-
RMGraphSeries
Creates a new series.
-
-
Method Details
-
getTitle
Returns the title for this series. -
getKey
Returns the key for this series. -
addItem
Add item for given key/group. -
getItemCount
public int getItemCount()Returns the number of items in this series. -
getItem
Returns the individual series item at the given index. -
getSeriesTotal
public float getSeriesTotal()Returns the total for all values in series. -
getSeries
Returns the graph series for a given graph.
-