JSCharting is a JavaScript chart library for visualizing your data, providing resolution independent results across all devices and platorms. Every JSCharting license includes the full suite of 150+ advanced chart types, interactive stock charts and JSMapping at no additional charge.
This set of samples demonstrate how to use JSCharting as an amd module with RequireJS.
Install the necessary packages including JSCharting.
npm install
Now you can build an application.
npm run build
Also you can run dev server http://localhost:5000/
npm run start
After build it copies all jscharting resources from node_modules to dist folder after that you can use it by require jscharting/dist/jscharting module.
requirejs(['jscharting/dist/jscharting'], function (JSC) {
new JSC.Chart({
targetElement: 'chartContainer',
...
});
});