Schnittstelle ChartStyle

Alle bekannten Implementierungsklassen:
AbstractChartStyle, BasicChartStyle, DefaultSimChartStyle, XMLChartStyle

public interface ChartStyle
This interface is a general super class for a design style of a JFreeChart. Sub classes should read the style from an xml element or something like that. Maybe there could be a general implementation representing a style for basic charts (bar, line and area charts) and special implementations for special chart types (e.g. financial, statistical oder spider charts).
Version:
1.0
Autor:
Martin Schmitz
  • Methodendetails

    • getType

      Returns the type of the chart style.
      Gibt zurück:
      the type of the chart style
    • getTitle

      String getTitle()
      Returns the title for the chart.
      Gibt zurück:
      empty string if no title is set
    • setTitle

      void setTitle(String aTitle)
      Returns the title for the chart.
      Parameter:
      aTitle -
    • getXAxisTitle

      String getXAxisTitle()
      Returns the title for the chart's x-axis.
      Gibt zurück:
      empty string if no title is set
    • getYAxisTitle

      String getYAxisTitle()
      Returns the title for the chart's y-axis.
      Gibt zurück:
      empty string if no title is set
    • hasLegend

      boolean hasLegend()
      Gibt zurück:
      Returns whether the chart is configured to generate a legend.
    • hasTooltips

      boolean hasTooltips()
      Gibt zurück:
      Returns whether the chart is configured to generate tooltips for the data.
    • hasURLs

      boolean hasURLs()
      Gibt zurück:
      Returns whether the chart is configured to generate URLs.
    • applyToDataset

      org.jfree.chart.JFreeChart applyToDataset(List<org.jfree.data.general.Dataset> aDatasetList)
      Parameter:
      aDatasetList - the data for the chart
      Gibt zurück:
      a chart using the given data and the style represented by this class.
      Löst aus:
      UnsupportedOperationException - if the style can not be applied to the given dataset
    • setObservable

      void setObservable(FWObservable aObservable)
      Parameter:
      aObservable -