Class RMGraphRPGBar

java.lang.Object
com.inductiveautomation.rm.graphing.RMGraphRPG
com.inductiveautomation.rm.graphing.RMGraphRPGBar
Direct Known Subclasses:
RMGraphRPGLine

public class RMGraphRPGBar extends RMGraphRPG
This class generates (and represents) a RPG'd bar graph area.
  • Constructor Details

    • RMGraphRPGBar

      public RMGraphRPGBar(RMGraph aGraph, ReportOwner anRptOwner)
      Creates a bar graph maker.
  • Method Details

    • createGraphShape

      protected RMParentShape createGraphShape()
      Creates the graph shape.
      Specified by:
      createGraphShape in class RMGraphRPG
    • getIntervalCount

      public int getIntervalCount()
      Returns the number of intervals for this filled graph.
    • getInterval

      public Float getInterval(int anIndex)
      Returns the individual interval at a given index as a float value.
    • getIntervalLast

      public Float getIntervalLast()
      Returns the last interval as a float value.
    • getMinorTickCount

      public int getMinorTickCount()
      Returns the number of suggested ticks between the intervals of the RPG'd graph.
    • isVertical

      public boolean isVertical()
      Returns whether graph is vertical.
    • addBars

      public void addBars()
      Adds the bars to the graph area.
    • getBarBounds

      public RMRect getBarBounds(int aSeriesIndex, int anItemIndex)
      Returns the bar bounds for bar at given series and item.
    • addLabel

      public void addLabel(RMTextShape aLabel, RMGraphPartSeries.LabelPos aPosition, RMGraphSeries.Item seriesItem)
      Adds an individual label.
    • getBarPrototype

      public RMShape getBarPrototype()
      Returns the shape used to represent the basic attributes of bars & wedges.