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 buildbuild: Compiles the TypeScript files to JavaScript in thedistdirectory.build:watch: Monitors thesrcdirectory for changes and recompiles files as needed.build:all: Builds both thechartslibrary and theexampleproject.
- Local Dependencies: The
chartslibrary is a local dependency for theexampleproject. - 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.