Reputation: 66156
I need a JSF component for representing Gantt chart. Does any component library (like RichFaces) contain such a component?
Upvotes: 2
Views: 7182
Reputation: 20178
Recent versions of PrimeFaces include a timeline component.
Events in the custom example have end dates, which makes the events to be rendered as bars.
Though it is not full blown Gantt, it could be enough for certain projects.
Upvotes: 1
Reputation: 1108672
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.
Upvotes: 5