public abstract class BaseChartBuilder extends Object implements ChartBuilder
PLOT_ORIENTATION, SHOW_LEGEND, SHOW_TOOL_TIPS, SHOW_URLS
Modifier | Constructor and Description |
---|---|
protected |
BaseChartBuilder(SeriesBuilder seriesBuilder) |
Modifier and Type | Method and Description |
---|---|
org.jfree.chart.JFreeChart |
buildChart(ChartingDefinition chartingDefinition) |
protected abstract org.jfree.chart.JFreeChart |
createChartImpl(String title,
String xAxisTitle,
String yAxisTitle,
org.jfree.data.general.Dataset dataset,
org.jfree.chart.plot.PlotOrientation plotOrientation,
boolean showLegend,
boolean showToolTips,
boolean showUrls)
Create a chart with the supplied parameters.
|
protected abstract DatasetHolder |
newDatasetHolder()
return a holder of an empty dataset suitable for use with the chart type
returned by
createChartImpl(String, String, String, Dataset, PlotOrientation, boolean, boolean, boolean) . |
protected abstract SeriesStrokeAndPaintApplier |
newStrokeAndPaintApplier()
Create a
SeriesStrokeAndPaintApplier that will be used to format a chart |
protected BaseChartBuilder(SeriesBuilder seriesBuilder)
public org.jfree.chart.JFreeChart buildChart(ChartingDefinition chartingDefinition)
buildChart
in interface ChartBuilder
protected abstract DatasetHolder newDatasetHolder()
createChartImpl(String, String, String, Dataset, PlotOrientation, boolean, boolean, boolean)
.protected abstract org.jfree.chart.JFreeChart createChartImpl(String title, String xAxisTitle, String yAxisTitle, org.jfree.data.general.Dataset dataset, org.jfree.chart.plot.PlotOrientation plotOrientation, boolean showLegend, boolean showToolTips, boolean showUrls)
ChartFactory
's factory methods.protected abstract SeriesStrokeAndPaintApplier newStrokeAndPaintApplier()
SeriesStrokeAndPaintApplier
that will be used to format a chartCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.