Class RMGraphSeries

java.lang.Object
com.inductiveautomation.rm.graphing.RMGraphSeries

public class RMGraphSeries extends Object
A class to represent a graph series, contains a list of series items.
  • Constructor Details

    • RMGraphSeries

      public RMGraphSeries(String aTitle, String aKey, RMGroup aGroupList)
      Creates a new series.
  • Method Details

    • getTitle

      public String getTitle()
      Returns the title for this series.
    • getKey

      public 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 List<RMGraphSeries> getSeries(RMGraphRPG aGraphRPG)
      Returns the graph series for a given graph.