de.laures.cewolf
Interface ChartPostProcessor

All Known Implementing Classes:
ColorTag, PointTag, RotatedAxisLabels

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.

Author:
Guido Laures
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 post processings.

Parameters:
chart - the chart instnce. Concrete class depends on the rendering implementation. Currently a org.jfree.chart.JFreeChart is passed.
params - paramters passed to the postprocessor. These are defined in the JSP
See Also:
ChartPostProcessorTag


Copyright © 2009. All Rights Reserved.