#15 Patch for getting ChartRenderingInfo through events

closed-fixed
nobody
None
5
2014-08-12
2005-03-02
No

Hi,

I've added a new event callback into this cewolf.jar
can be used to get the ChartRenderingInfo object after
the image got rendered.

To use this, implement interface
ChartImageRenderListener by your post-processor:

<pre>
public class MyPostProcessor implements
ChartPostProcessor, ChartImageRenderListener {

....

/**
* Implemented onImageRendered method.
* @see
de.laures.cewolf.event.ImageRenderListener#onImageRendered(de.laures.cewolf.util.RenderedImage).
* @param renderedImage
*/
public void onImageRendered(RenderedImage
renderedImage) {
LOG.info("Image rendered, size:" +
renderedImage.data.length + ", info:" +
(ChartRenderingInfo) renderedImage.renderingInfo);
}

}
</pre>

Probably this change goes to next cewolf release if you
confirm that this is useful :-) .

Discussion

  • Zoltan Luspai

    Zoltan Luspai - 2005-03-02

    cewolf jar

     
  • Brian Fox

    Brian Fox - 2005-03-03

    Logged In: YES
    user_id=805618

    Yes. Can you use CVS and create a branch with these changes
    once they are working?

     
  • Zoltan Luspai

    Zoltan Luspai - 2005-03-08

    Logged In: YES
    user_id=240232

    Brian,

    Yes, I'd commit these once it is proven :-).
    Btw; I think that can go to CVS head - no need for a
    branch-, since this change is not intrusive to other parts.

    Zoltan

     
  • Zoltan Luspai

    Zoltan Luspai - 2005-03-17

    Logged In: YES
    user_id=240232

    These changes are commited to CVS.

     
  • Zoltan Luspai

    Zoltan Luspai - 2005-03-17
    • status: open --> open-fixed
     
  • Zoltan Luspai

    Zoltan Luspai - 2005-03-17
    • status: open-fixed --> closed-fixed
     
  • Zoltan Luspai

    Zoltan Luspai - 2005-03-17

    Logged In: YES
    user_id=240232

    closing...

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks