Class RMGraphRPG

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

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

    • RMGraphRPG

      public RMGraphRPG()
  • Method Details

    • 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 List getObjects()
      Returns the objects that this graphRPG is generated grom.
    • setObjects

      public void setObjects(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 Number getIntervalNumber(int anIndex)
      Returns the individual interval at a given index as a Number.
    • getIntervals

      public 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 List getGroups()
      Returns the keys to be graphed (unless swapped, in which case it returns the objects).
    • getGroup

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

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

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

      public float floatValueForKeyChain(Object anObj, 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 List getLegendStrings()
      Returns the list of legend strings for a graph RPG.