de.laures.cewolf.event
Interface ChartImageRenderListener
- All Known Implementing Classes:
- AbstractChartDefinition, CombinedChartDefinition, OverlaidChartDefinition, SimpleChartDefinition
public interface ChartImageRenderListener
Event listener called back after the image is rendered. ChartPostProcessors
may implement this interface to get notified when the image gets rendered.
It is useful to retrieve the JFreeChart's ChartRenderingInfo object.
public void onImageRendered (RenderedImage renderedImage) {
ChartRenderingInfo info = (ChartRenderingInfo) renderedImage.renderingInfo;
...
}
- Author:
- zluspai
onImageRendered
void onImageRendered(RenderedImage renderedImage)
- Callback right after a new image gets rendered.
- Parameters:
renderedImage
- The fresh image just got rendered
cewolf tag library - web charts with JFreeChart