The charts
library is a robust and straightforward library for creating charts using HTML5 canvas, designed with a focus on simplicity and performance. It does not rely on any third-party dependencies.
- Clone the repository:
git clone <repository_url>
- Install NPM packages:
npm install
- Build the library:
npm run build
build
: Compiles the TypeScript files to JavaScript in thedist
directory.build:watch
: Monitors thesrc
directory for changes and recompiles files as needed.build:all
: Builds both thecharts
library and theexample
project.
- Local Dependencies: The
charts
library is a local dependency for theexample
project. - DevDependencies: TypeScript is a development dependency, crucial for the build process of the library.
The charts
library is released under the GNU General Public License v3.0.
To set up the charts
library for development:
- Clone the repository as mentioned above.
- Navigate to the project directory and run the installation command.
- Use the build commands to compile the source code.
Contributions are welcome! For any enhancements, bug fixes, or feature requests, please follow these steps:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/AmazingFeature
). - Commit your changes.
- Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.