Pretty cool.
However, you can currently include jFreecharts into your pdf using the existing
<p:image> tag eg:
| <p:image width="300" height="200"
value="#{myBean.myChartImage}" />
Where you encode your chart as an image and store as a byte array:
| private byte[] myChartImage;
|
| myChartImage = ChartUtilities.encodeAsPNG(myChart.createBufferedImage(300, 200));
|
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114140#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...