Grails and charting?

2019-04-10 13:20发布

问题:

I am wondering about the best current charting solution for Grails to include charts in my pages. Looking at the Flex plugin, it doesnt look like it has been touched in a couple of years. There are google charts (and eastwood) plugins but they are a bit too simple for what I am looking for. Just checking if I am missing something.

回答1:

There are a number of Grails plugins that deal with charting and allow integrating with well-respected methods of generating charts and graphs.

From just a quick search for "charts", some of the ones I recognized are:

  • Google Chart Plugin
  • Google Visualization API Plugin
  • OpenFlash Charting
  • Sparklines Plugin
  • Raphael for Grails


回答2:

If you don't mind a JavaScript solution, HighCharts is the most sophisticated charting library I've seen. It's free for non-commercial use only.



回答3:

Try the dojo plugin. Look for dojox.charting on google.