Class RMGraphSeries
- java.lang.Object
- 
- com.inductiveautomation.rm.graphing.RMGraphSeries
 
- 
 public class RMGraphSeries extends java.lang.ObjectA class to represent a graph series, contains a list of series items.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classRMGraphSeries.ItemA class to represent an individual item inside a graph series, including its key, group, value and bar/wedge shape.
 - 
Constructor SummaryConstructors Constructor Description RMGraphSeries(java.lang.String aTitle, java.lang.String aKey, RMGroup aGroupList)Creates a new series.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddItem(RMGroup aGroup)Add item for given key/group.RMGraphSeries.ItemgetItem(int anIndex)Returns the individual series item at the given index.intgetItemCount()Returns the number of items in this series.java.lang.StringgetKey()Returns the key for this series.static java.util.List<RMGraphSeries>getSeries(RMGraphRPG aGraphRPG)Returns the graph series for a given graph.floatgetSeriesTotal()Returns the total for all values in series.java.lang.StringgetTitle()Returns the title for this series.
 
- 
- 
- 
Constructor Detail- 
RMGraphSeriespublic RMGraphSeries(java.lang.String aTitle, java.lang.String aKey, RMGroup aGroupList)Creates a new series.
 
- 
 - 
Method Detail- 
getTitlepublic java.lang.String getTitle() Returns the title for this series.
 - 
getKeypublic java.lang.String getKey() Returns the key for this series.
 - 
addItempublic void addItem(RMGroup aGroup) Add item for given key/group.
 - 
getItemCountpublic int getItemCount() Returns the number of items in this series.
 - 
getItempublic RMGraphSeries.Item getItem(int anIndex) Returns the individual series item at the given index.
 - 
getSeriesTotalpublic float getSeriesTotal() Returns the total for all values in series.
 - 
getSeriespublic static java.util.List<RMGraphSeries> getSeries(RMGraphRPG aGraphRPG) Returns the graph series for a given graph.
 
- 
 
-