Can somebody provide me a simple tutorial about how can I create a simple pie-chart with invient-charts add-on?
I didn’t even figure out where to put jquery.js file, there is no a good tutorial about that.
Thanks in advance.
There is a sample application included with the download from the directory. Then there is this
mammoth of a thread
, that i recommend you read through. That out of the way, here are a few pointers:
- put the JS-folders under WebContent/VAADIN
- override the default Vaadin servlet with your own (remember to modify your web.xml)
- override the method writing the HEAD-element in the servlet (writeAjaxPageHtmlVaadinScripts); add script-tags for all JS-files you added and remember to call super
- add the invientcharts jar into WebContent/WEB-INF/lib, and recompile your widgetset
That’s the short version; the linked thread has answers to most questions (trust me, I’ve found them there myself ).