Class RMGraphRPG

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

    public class RMGraphRPG
    extends RMShape
    This class represents a report generated graph.
    • Constructor Detail

      • RMGraphRPG

        public RMGraphRPG()
    • Method Detail

      • rpgClone

        public static RMShape rpgClone​(RMGraph aGraph,
                                       ReportMill aReportMill)
        Returns a report generated graph from an original graph and a ReportMill.
      • getGraph

        public RMGraph getGraph()
        Returns the graph that this graphRPG is generated from.
      • setGraph

        public void setGraph​(RMGraph aGraph)
        Sets the graph that this graphRPG is generated from.
      • getReportMill

        public ReportMill getReportMill()
        Returns the ReportMill for RPG.
      • getObjects

        public java.util.List getObjects()
        Returns the objects that this graphRPG is generated grom.
      • setObjects

        public void setObjects​(java.util.List aList)
        Sets the objects that this graphRPG is generated from.
      • 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.
      • getIntervalNumber

        public java.lang.Number getIntervalNumber​(int anIndex)
        Returns the individual interval at a given index as a Number.
      • getIntervals

        public java.util.List getIntervals()
        Returns the list of intervals for this graph.
      • getMinorTickCount

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

        public java.util.List getGroups()
        Returns the keys to be graphed (unless swapped, in which case it returns the objects).
      • getGroup

        public java.lang.Object getGroup​(int anIndex)
        Returns the specific group (key) at the given index.
      • getSeries

        public java.util.List getSeries()
        Returns the objects to be graphed (unless swapped, in which case it returns the keys).
      • getSeries

        public java.lang.Object getSeries​(int anIndex)
        Returns the specific series item (or list key object) at the given index.
      • floatValueForKeyChain

        public float floatValueForKeyChain​(java.lang.Object anObj,
                                           java.lang.Object aKey)
        Returns a float value for the given object and key (automatically handles "swapped" case).
      • getColors

        public RMColor[] getColors()
        Returns the array of colors to be used for graph bars/wedges.
      • getLegendRPG

        public RMShape getLegendRPG()
        Returns a RPG'd legend for the graph RPG.
      • getLegendStrings

        public java.util.List getLegendStrings()
        Returns the list of legend strings for a graph RPG.