net.simplace.util.jfreechart.ChartStyle
Version: 1.0
This interface is a general super class for a design style of a org.jfree.chart.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).
public interface interface ChartStyle {
// Public Instance Methods public
ChartStyle.ChartType getType();
Returns the type of the chart style.
returns the type of the chart style
public String getTitle();
Returns the title for the chart.
returns empty string if no title is set
public void
setTitle(String aTitle);
Returns the title for the chart.
public String getXAxisTitle();
Returns the title for the chart's x-axis.
returns empty string if no title is set
public String getYAxisTitle();
Returns the title for the chart's y-axis.
returns empty string if no title is set
public boolean hasLegend();
returns Returns whether the chart is configured to generate a legend.
public boolean hasTooltips();
returns Returns whether the chart is configured to generate tooltips for the data.
public boolean hasURLs();
returns Returns whether the chart is configured to generate URLs.
public JFreeChart
applyToDataset(List aDatasetList);
- aDatasetList the data for the chart
returns a chart using the given data and the style represented by
this class.
// Inner Classes
public static final class ChartStyle.ChartType extends java.lang.Enum
}
Implemented by: AbstractChartStyle
Passed to: net.simplace.filler.FWSystemFormComponentFiller.generateChart(), net.simplace.filler.FWSimVariablesFormComponentFiller.generateChart(), net.simplace.filler.FWSimCacheListFormComponentFiller.generateChart(), net.simplace.filler.FWScenarioFormComponentFiller.generateChart(), net.simplace.filler.FWObservableFormComponentFiller.generateChart(), net.simplace.filler.FWMapFormComponentFiller.generateChart(), net.simplace.filler.FWFormComponentFillerHSSFwb.generateChart(), net.simplace.filler.FWFilebasedFormComponentFiller.generateChart(), net.simplace.filler.FWDatabaseFormComponentFiller.generateChart(), net.simplace.filler.FWClasspathFormComponentFiller.generateChart(), net.simplace.filler.FWASCIIFormComponentFiller.generateChart(), net.simplace.filler.FWArraysFormComponentFiller.generateChart(), net.simplace.ui.formengine.filler.FWAbstractFormComponentFiller.generateChart(), net.simplace.ui.formengine.filler.FWAbstractFormComponentFiller.getChart(), net.simplace.ui.formengine.fuzzy.FWFuzzyResultFormComponentPanel.setChart(), net.simplace.ui.formengine.fuzzy.FWFuzzyFormComponent.setChart(), net.simplace.ui.formengine.result.FWCropResultFormComponentPanel.setChart(), net.simplace.ui.formengine.result.FWChartResultFormComponentPanel.setChart(), net.simplace.ui.formengine.result.FWChartFormComponent.setChart()
Returned by: net.simplace.util.customize.FWCustomizableLayoutProvider.getChartStyle(), net.simplace.util.system.FWSystemModel.getChartStyle()