Hi,
I am currently working on copying a JFreeChart to the System Clipboard so that it can be emailed just by pasting the cpoied chart. I did use the export functionality available with JFreeChart to save the charts as JPEG or PNG images. However, this time the users do not want the charts to be saved on disk, rather directly paste them in outlook in order to email them.
Please let me know how this can be achieved.
Thanks,
Amar
Copying JFreeChart through the Clipboard
-
- Posts: 22
- Joined: Tue Aug 25, 2009 8:02 pm
- antibot: No, of course not.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Copying JFreeChart through the Clipboard
Since version 1.0.13, you can just call the doCopy() method in the ChartPanel class.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

