Class RMScriptableChart

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, Unexpandable, PropertyChangeListener, Cloneable, EventListener
Direct Known Subclasses:
RMAbstractXYChart, RMPieChart, RMRadarChart

public abstract class RMScriptableChart extends AbstractRM2DShape
  • Constructor Details

    • RMScriptableChart

      public RMScriptableChart()
  • Method Details

    • applyConfigureChartScript

      public void applyConfigureChartScript(org.jfree.chart.JFreeChart chart)
      Applies the specified script to configure the provided JFreeChart Object.
      Parameters:
      chart - the JFreeChart object to configure with the script
    • isScriptEnabled

      public boolean isScriptEnabled()
    • setScriptEnabled

      public void setScriptEnabled(boolean scriptEnabled)
    • getScript

      public String getScript()
    • setScript

      public void setScript(String script)
    • setReportData

      public void setReportData(Map reportData)
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      Description copied from class: RMParentShape
      XML Archival generic - break toXML into toXMLShape and toXMLShapeChildren.
      Specified by:
      toXML in interface Archivable
      Overrides:
      toXML in class AbstractRM2DShape
    • fromXML

      public RMShape fromXML(RXArchiver anArchiver, RXElement e)
      Description copied from class: RMParentShape
      XML unarchival generic - break fromXML into fromXMLShape and fromXMLShapeChildren.
      Specified by:
      fromXML in interface Archivable
      Overrides:
      fromXML in class AbstractRM2DShape