The Struts2 JFreeChart plugin allows to create charts in actions and easily return generated charts and graphs.
The Struts2 JFreeChart plugin allows to create charts in actions and easily return generated charts and graphs.
It doesn't need to stream a generated chart directly to the HTTP response, the plugin provides a ChartResult
, which handles the generation of the charts. This feature allows to generate the chart in one class, and render it out in another class, effectively decoupling the view from the model and easily render it out to a file or some view other than a web HTTP response.
Features:
- Handles rendering charts to the HTTP response
- Can be used in other non-web contexts