Package net.sf.jasperreports.charts
Interface JRChartCustomizer
-
- All Known Subinterfaces:
NamedChartCustomizer
- All Known Implementing Classes:
AbstractAxisCustomizer
,AbstractIntervalMarkerCustomizer
,AbstractMarkerCustomizer
,AbstractShapeCustomizer
,AbstractValueMarkerCustomizer
,CategoryMarkerCustomizer
,DomainAxisCustomizer
,DomainIntervalMarkerCustomizer
,DomainValueMarkerCustomizer
,JRAbstractChartCustomizer
,LegendShapeCustomizer
,LevelRenderCustomizer
,LineDotShapeCustomizer
,RangeAxisCustomizer
,RangeIntervalMarkerCustomizer
,RangeValueMarkerCustomizer
,SplineCustomizer
,StepCustomizer
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. If values of report parameters, variables or fields are needed in the customization, the customizer implementation should extendJRAbstractChartCustomizer
to gain access to such values.- Author:
- Michael McMahon (Michael.McMahon@activewire.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
CUSTOMIZER_CLASS_PROPERTY_PREFIX
static String
CUSTOMIZER_PROPERTY_PREFIX
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customize(org.jfree.chart.JFreeChart chart, JRChart jasperChart)
This method is called at fill time, before the chart is rendered.
-
-
-
Field Detail
-
CUSTOMIZER_PROPERTY_PREFIX
static final String CUSTOMIZER_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
CUSTOMIZER_CLASS_PROPERTY_PREFIX
static final String CUSTOMIZER_CLASS_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
customize
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 modifiedjasperChart
- the JasperReports version of the chart, containing data that might be needed in customization
-
-