de.laures.cewolf
Interface ChartPostProcessor

All Known Subinterfaces:
NonSerializableChartPostProcessor
All Known Implementing Classes:
AnnotationProcessor, BarRendererProcessor, ColorTag, CompassEnhancer, DialEnhancer, LineRendererProcessor, MeterEnhancer, PieEnhancer, PointTag, RotatedAxisLabels, SeriesPaintProcessor, SpiderWebEnhancer, ThermometerEnhancer, TitleEnhancer, VisualEnhancer, WaferMapLegendProcessor, ZoomBothAxis

public interface ChartPostProcessor

Postprocesses a generated chart instance. Objects of this class can be used to customize a generated and afterwards rendered chart instance additionally. To provide a postprocessor the <chartpostprocessor> tag is used. There can be an unlimited number of postprocessors registered.

Change by U. Dittmer: ChartPostProcessor implementations need to be serializable now. Amongst other consequences, that means they can no longer be declared in JSP pages. Keeping code in JSPs should be avoided anyway, but some cewolf demos did this.

See Also:
ChartPostProcessorTag

Method Summary
 void processChart(java.lang.Object chart, java.util.Map params)
          Processes a generated chart.
 

Method Detail

processChart

void processChart(java.lang.Object chart,
                  java.util.Map params)
Processes a generated chart. This method is called by the ChartProducer after a chart instance is generated and before it is rendered (if so). The ChartProducer is responsible for post processing a chart dependant on and only on the provided parameters. This means that the same parameters should result in the same postprocessings.

Parameters:
chart - the chart instance; only JFreeChart instances are supported
params - parameters passed to the postprocessor. These are defined in the JSP
See Also:
ChartPostProcessorTag


cewolf tag library - web charts with JFreeChart