Charts for AngularJS
###Step 1: View the example page
After cloning the repository, you can view an example page by opening the
examples/index.html page in your browser.
This page tests that Angular Charts is working correctly and shows the available chart types.
Step 2: Use Angular Charts in your own project
Minified and unminified versions are included to allow both production and debugging use.
To use Angular Charts in your own project, you will need to include the following scripts in your HTML source:
- AngularJS (v1.2 or higher)
dist/jsdirectory of the repository)
dist/cssdirectory of the repository)
Detailed documentation on using the individual chart types is not yet available. In the meantime you can refer to the example page's HTML source for an example of the chart markup.
Building from source
The Angular Charts source code is written in JS and SASS, and can be found in the
src directory within the repository.
If you make any changes to the source code, you will need to rebuild the JS and CSS in order to update the files in the
###Build process requirements
To build Angular Charts, you will need the following software installed on your computer:
To perform the initial build, navigate to the repository's root directory and run the following command:
This will install the dependencies required to build Angular Charts, and perform the initial build.
Generated JS and CSS will be placed in the
Once you have performed the initial build, subsequent builds can be performed by navigating to the repository's root directory and running the following command: