Class RMGraphRPGBar

  • Direct Known Subclasses:
    RMGraphRPGLine

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

      • RMGraphRPGBar

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

      • getIntervalCount

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

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

        public java.lang.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.
      • getBarPrototype

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