I need a jsf component for representing Gantt chart. Does any components library (like RichFaces) contains this component?
+1
A:
JFreeChart has a Gantt chart and PrimeFaces has an image component which allows you to dynamically stream content in. Here is an example in combination with JFreeChart.
Alternatively you can also just grab h:graphicImage
and let it point to a simple servlet which streams the JFreeChart
result to the response based on the request parameters or pathinfo.
BalusC
2010-03-09 12:15:16
Actually it's not a problem to show the image. But I don't get it how to get the image from JFreeChart.
Roman
2010-03-09 12:33:44
Oh, I've googled something related, maybe this is what I want.
Roman
2010-03-09 12:39:12
Make it to return the image in flavor of an `InputStream` somehow ;) Google "JFreeChart Developer Guide" for the devguide PDF (which actually isn't freeware).
BalusC
2010-03-09 12:39:55
Yeah, it costs 40$. But I think I've found well enough tutorial to sort it out by myself.
Roman
2010-03-09 12:45:55