org.xwiki.chart.internal.plot
Class BarPlotGenerator
java.lang.Object
org.xwiki.chart.internal.plot.BarPlotGenerator
- All Implemented Interfaces:
- PlotGenerator
public class BarPlotGenerator
- extends java.lang.Object
- implements PlotGenerator
A PlotGenerator for generating bar charts.
- Since:
- 2.0M1
- Version:
- $Id$
|
Method Summary |
org.jfree.data.category.DefaultCategoryDataset |
buildCategoryDataset(ChartModel model,
java.util.Map<java.lang.String,java.lang.String> parameters)
Builds a new DefaultCategoryDataset corresponding to the provided ChartModel. |
org.jfree.chart.plot.Plot |
generate(ChartModel model,
java.util.Map<java.lang.String,java.lang.String> parameters)
Generates a Plot for the given ChartModel and parameters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BarPlotGenerator
public BarPlotGenerator()
generate
public org.jfree.chart.plot.Plot generate(ChartModel model,
java.util.Map<java.lang.String,java.lang.String> parameters)
- Generates a
Plot for the given ChartModel and parameters.
- Specified by:
generate in interface PlotGenerator
- Parameters:
model - the ChartModel instance.parameters - extra parameters.
- Returns:
- the generated
Plot.
buildCategoryDataset
public org.jfree.data.category.DefaultCategoryDataset buildCategoryDataset(ChartModel model,
java.util.Map<java.lang.String,java.lang.String> parameters)
- Builds a new
DefaultCategoryDataset corresponding to the provided ChartModel.
- Parameters:
model - the ChartModel instance.parameters - additional parameters.
- Returns:
- a
DefaultCategoryDataset corresponding to the provided ChartModel.
Copyright © 2004-2011 XWiki. All Rights Reserved.