JFreeChart wrapper for Vaadin
Vaadin 6-8 compatible component to display charts generated by the popular JFreeChart library
TIP: see also the Vaadin 10+ compatible version of this add-on.
JFreeChart is very popular java library for building complex charts. This add-on contains a component that can display JFreeChart built chart on Vaadin application.
In browser charts are rendered as SVG making charts very sharp when pringing. For IE (that does not support SVG) charts are rendered as PNG raster image.
Note! The JFreeChart library is LGPL licenced. All other required libraries are neither Apache 2 licenced. Apache2 license is only for the wrapper code.
Responses for comments (waiting eagerly for this feature to Directory):
- Mark, I guess you just used the online demo? It had a very old development build of Vaadin and died because of bug there. Online demo now updated.
- Marcos, relative sizes work now to some extend. Well if rendered as SVG, blurry in IE (bitmap scaling). Integration with SvgComponent should resolve this issue.
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Version 2.2
- added support for relative sizes including methods to modify
rendering to relative sized component:
- setGraphWidth/Height(int pixels)
- setSvgAspectRatio(String aspectRatio)
Version 2.1
- added possibility to gzip SVG graphs if global compression is not enabled in server
- removed dependencies, now following libraries required: (1) batik-awt-util.jar (2) batik-svggen.jar (3) batik-util.jar (4) batik-xml.jar (5) jcommon.jar (6) jfreechart.jar
- Released
- 2010-11-05
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 6.2+
- Vaadin 8.0+ in 4.0.0
- Vaadin 7.0+ in 3.0.4
- Vaadin 6.6+ in 2.5.0
- Vaadin 6.0+ in 2.4
- Browser
- Internet Explorer
- Internet Explorer
- Internet Explorer
- Firefox
- Opera
- Safari
- Google Chrome