Simple Java Graphing API for Use in Vaadin Web Application

I have a simple Vaadin web application, and I am looking for a simple graphical API that will only process a minimum amount of data (no more than a few hundred data points) and allow me to display simple 2d graphics in a Vaadin panel object.

I need it to be a Java API, not an external service like Google diagrams, for security reasons.

Does anyone have any good recommendations?

EDIT: I select "Invient Charts" (Waadin Add-on Wrapper for HighCharts) because I already have a HighCharts license. If I didn’t have a license, I would probably go with a simple GWT-based API like gchart

EDIT 3/29/2012: Pulled out the production assembly of the Vaadin application using Invient Charts. Very pleased with the end results. You can manage almost every aspect of High Charts features with pure Java code. A couple of things are a bit “hacky”, like formatting, how dots are displayed, and mouse over the data frame, where you need to pass anonymous javascript functions as strings. Initial setup is also a bit risky; I had to redefine my ApplicationServlet to ensure that the javascript libraries were imported correctly, and getting them in the right place in your project structure is not fully documented. Overall, although it was relatively painless, the graphs integrated into my Vaadin app. Highly recommend.

+6
source share
3 answers

And if JFreeChart does not do this trick, try Invient Charts . It uses the Highcharts JavaScript library, which requires a license for commercial use. It looks amazing and pretty easy to use for creating charts.

+2
source

JFreeChart should do the trick: http://www.jfree.org/jfreechart/ . This is the only graphics package in which I have experience, so I could not give you any feedback on how it compares with others, but I know that it is very widely used by Java developers - the most used, I think, are all free mapping packages - and this, as a rule, was rather highly appreciated. JFreeChart also has an LGPL license, which means it can be used in proprietary / commercial software, while GPL licensed software can be used for free, but is not distributed as part of any commercial product. Not sure if this is relevant here, but maybe helps

+4
source

The Charts application is really great, but you want to use it in production as part of your commercial application, you have to buy a license for it. I use this addon (and it has the LGPL 3.0 license) because it has less functionality than Invient Charts, but enough for my needs. A big plus of this add-on is the “No Internet connection” required for generating symbols, not other chart add-ins using the Google APIs to generate charts.

+3
source

Source: https://habr.com/ru/post/898614/


All Articles