Class XYChartGenerator

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
BubbleChartGenerator, HistogramGenerator, ScatterPlotGenerator, TimeSeriesChartGenerator

public abstract class XYChartGenerator extends ChartGenerator
An abstract subclass of ChartGenerator for charts which involve X-Y data, such as Time Series, Histograms, and Scatter Plots.
See Also:
  • Constructor Details

    • XYChartGenerator

      public XYChartGenerator()
  • Method Details

    • setXAxisLogScaled

      public void setXAxisLogScaled(boolean isLogScaled)
    • isXAxisLogScaled

      public boolean isXAxisLogScaled()
    • setYAxisLogScaled

      public void setYAxisLogScaled(boolean isLogScaled)
    • isYAxisLogScaled

      public boolean isYAxisLogScaled()
    • getSeriesDataset

      public org.jfree.data.general.Dataset getSeriesDataset()
      Specified by:
      getSeriesDataset in class ChartGenerator
    • setSeriesDataset

      public void setSeriesDataset(org.jfree.data.general.Dataset obj)
      Specified by:
      setSeriesDataset in class ChartGenerator
    • getSeriesCount

      public int getSeriesCount()
      Assumes that the underlying Dataset is an XYDataset. Override this for other datasets.
      Specified by:
      getSeriesCount in class ChartGenerator
    • setRangeAxisLabel

      public void setRangeAxisLabel(String val)
      Deprecated.
      Sets the name of the Range Axis label -- usually this is the Y axis.
    • setYAxisLabel

      public void setYAxisLabel(String val)
      Sets the name of the Y Axis label.
    • getRangeAxisLabel

      public String getRangeAxisLabel()
      Deprecated.
      Returns the name of the Range Axis Label -- usually this is the Y axis.
    • getYAxisLabel

      public String getYAxisLabel()
      Returns the name of the Y Axis label.
    • setDomainAxisLabel

      public void setDomainAxisLabel(String val)
      Deprecated.
      Sets the name of the Domain Axis label -- usually this is the X axis.
    • setXAxisLabel

      public void setXAxisLabel(String val)
      Sets the name of the X Axis label.
    • getDomainAxisLabel

      public String getDomainAxisLabel()
      Deprecated.
      Returns the name of the Domain Axis label -- usually this is the X axis.
    • getXAxisLabel

      public String getXAxisLabel()
      Returns the name of the X Axis label.
    • getChart

      public org.jfree.chart.JFreeChart getChart()
      Returns the underlying chart.
      Overrides:
      getChart in class ChartGenerator
    • buildGlobalAttributes

      protected void buildGlobalAttributes(LabelledList list)
      Overrides:
      buildGlobalAttributes in class ChartGenerator
    • setRangeAxisRange

      public void setRangeAxisRange(double lower, double upper)
      Deprecated.
    • setYAxisRange

      public void setYAxisRange(double lower, double upper)
    • setDomainAxisRange

      public void setDomainAxisRange(double lower, double upper)
      Deprecated.
    • setXAxisRange

      public void setXAxisRange(double lower, double upper)