net.sf.jasperreports.components.charts
Interface ChartCustomizer
- All Known Implementing Classes:
- AbstractChartCustomizer
public interface ChartCustomizer
This interface allows users to provide pluggable chart customizers. A class that implements this interface can
be defined and its name must be specified in the report template. At fill time, the corresponding customize()
method of this class will be called, if advanced chart customization is needed.
If values of report parameters, variables or fields are needed in the customization, the customizer implementation
should extend AbstractChartCustomizer
to gain access to such values.
- Version:
- $Id: ChartCustomizer.java 5180 2012-03-29 13:23:12Z teodord $
- Author:
- sanda zaharia (shertage@users.sourceforge.net)
Method Summary |
void |
customize(org.jfree.chart.JFreeChart chart,
ChartComponent chartComponent)
This method is called at fill time, before the chart is rendered. |
customize
void customize(org.jfree.chart.JFreeChart chart,
ChartComponent chartComponent)
- This method is called at fill time, before the chart is rendered.
- Parameters:
chart
- the JFreeChart object, which can be accessed and modifiedchartComponent
- the chart component, containing data that might be needed in
customization
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com