I would like to use Vaadin to display live stats of some systems. The requirements require that we send out an email with the stats upon certain conditions. I was wondering if it is possible to do a "screen capture" to an image that can then be sent in a email.
Asked
Active
Viewed 281 times
1 Answers
0
The documentation states:
18.7.1. Server-Side Rendering and Exporting
In addition to using charts in Vaadin UIs, you may also need to provide them as images or in downloadable documents. Vaadin Charts can be rendered on the server-side using a headless JavaScript execution environment, such as PhantomJS.
Vaadin Charts supports a HighCharts remote export service, but the SVG Generator based on PhantomJS is almost as easy to use and allows much more powerful uses.
It continiues with the description, how to do this.

cfrick
- 35,203
- 6
- 56
- 68
-
The question is how to capture a screen of Vaadin, not a Vaadin Chart. – Abbas Apr 09 '15 at 14:46
-
@Abbas why then add a vaadin-charts tag in the first place? yet the part about phantomjs holds true for any web application – cfrick Apr 09 '15 at 16:05