VisualizationsForVaadin: Why connections to google.com necessary?

Hi,

I had an internet outage and my locally deployed vaadin application didn’t show any charts then. Seems that chart need to connect to google.com. Does anybody know the reason for this and is there a way to avoid?

Regards,
Rudolf

Hi,

The creator of the add-on could answer this more extensively, but in short:

The add-on uses Google Visualizations, and some (most?) of the visualizations require a connection to google servers. I.e google is drawing the chart.

http://code.google.com/apis/visualization/interactive_charts.html

Best Regards,
Marc

If this is a problem for you, you might try using Eastwood project and JFreeChartWrapper addon together. You should get pretty similar graphs, with same API and without visiting google to generate the charts. I haven’t tried it but I’d expect it works quite well.


eastwood project


jfreechart wrapper

cheers,
matti

Hi, see
related posts

regards phil

Well, I finally decided to give eastwood / JFreeChart a go. So, I downloaded JFreeChartWrapper, JFreeChart and Eastwood, but have no clue what to put where. Do I have to install Eastwood as a separate servlet and if yes, how to integrate in Vaadin? Some hints will be highly appreciated.

Thanks, Rudolf

Hi,

Don’t use the servlet (or if you use, make VaadinVisualizations somehow use that servlet instead of Googles), but just grab the helper classes from Eastwood project and use them on the server side.

cheers,
matti