Since the version 1.0 of CanvasJS our primary goal has been to make it as simple as possible for you to create and add charts. Given that jQuery is being used widely over the web, we thought of building a simple jQuery plugin that would allow you to integrate CanvasJS Charts the jQuery way! So if you find $(“selector”).someAction() way of adding chart convenient, you can do so with CanvasJS Charting Plugin for jQuery.
In case you have any suggestions/feedback please post it in our forum.
Here is how you can create a simple chart using the jQuery Plugin.
Here are couple of things that you need to remember while working with the jQuery chart plugin.
$("#chartContainer").CanvasJSChart().options.data.type = "column". Refer Updating Chart Options/Data for more information.
Below is a simple example that shows how you can update chart once it has been created.