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 Summary
Nested 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 Summary
Constructors Constructor Description RMGraphSeries(java.lang.String aTitle, java.lang.String aKey, RMGroup aGroupList)Creates a new series.
-
Method Summary
All 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
-
RMGraphSeries
public RMGraphSeries(java.lang.String aTitle, java.lang.String aKey, RMGroup aGroupList)Creates a new series.
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Returns the title for this series.
-
getKey
public java.lang.String getKey()
Returns the key for this series.
-
addItem
public void addItem(RMGroup aGroup)
Add item for given key/group.
-
getItemCount
public int getItemCount()
Returns the number of items in this series.
-
getItem
public RMGraphSeries.Item getItem(int anIndex)
Returns the individual series item at the given index.
-
getSeriesTotal
public float getSeriesTotal()
Returns the total for all values in series.
-
getSeries
public static java.util.List<RMGraphSeries> getSeries(RMGraphRPG aGraphRPG)
Returns the graph series for a given graph.
-
-