https://github.com/jscharting/jscharting-amd
Official JSCharting samples for RequireJS
https://github.com/jscharting/jscharting-amd
amd chart jscharting requirejs
Last synced: about 1 year ago
JSON representation
Official JSCharting samples for RequireJS
- Host: GitHub
- URL: https://github.com/jscharting/jscharting-amd
- Owner: jscharting
- Created: 2018-11-19T18:46:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T23:28:51.000Z (about 4 years ago)
- Last Synced: 2025-02-08T09:23:07.517Z (over 1 year ago)
- Topics: amd, chart, jscharting, requirejs
- Language: JavaScript
- Size: 2.02 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSCharting: Any Chart. Anywhere.
**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.
## Official JSCharting examples for requirejs
This set of samples demonstrate how to use JSCharting as an amd module with RequireJS.
### How to use
Install the necessary packages including JSCharting.
```console
npm install
```
Now you can build an application.
```console
npm run build
```
Also you can run dev server http://localhost:5000/
```console
npm run start
```
### Hot it works
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.
```javascript
requirejs(['jscharting/dist/jscharting'], function (JSC) {
new JSC.Chart({
targetElement: 'chartContainer',
...
});
});
```
----