Class RMGraphSection

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

public class RMGraphSection extends Object
Represents the data in the sections of a merged or separated graph.
  • Constructor Details

    • RMGraphSection

      public RMGraphSection(RMGraphRPG aGraphRPG, int anIndex)
      Creates a new graph section.
  • Method Details

    • getItemCount

      public int getItemCount()
      Returns the number of section items
    • getItem

      public RMGraphSection.Item getItem(int anIndex)
      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

      public RMRect getBounds()
      Returns the bounds of the section.
    • getSections

      public static List getSections(RMGraphRPG aGraphRPG)
      Returns the list of sections for the graph.