net.sf.jasperreports.engine
Interface JRChartCustomizer


public interface JRChartCustomizer

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.

Version:
$Id$
Author:
Michael McMahon

Method Summary
 void customize(org.jfree.chart.JFreeChart chart, JRChart jasperChart)
          This method is called at fill time, before the chart is rendered.
 

Method Detail

customize

public void customize(org.jfree.chart.JFreeChart chart,
                      JRChart jasperChart)
This method is called at fill time, before the chart is rendered.

Parameters:
chart - the JFreeChart object, which can be accessed and modified
jasperChart - the JasperReports version of the chart, containing data that might be needed in customization


© 2001-2005 JasperSoft Corporation www.jaspersoft.com