jplot
v1.0.9
Published
Small plotting library for JavaScript
Downloads
2
Readme
This is a (in development) dynamic math graph ploting library. This project, and package, contains, for now, some Rendering Items, like the Axis, Function, Point and the AreaUnderCurve with some LineStyle's and some FillStyle's utilities.
1 Usage
1.1 Instaling from npm
npm install jplot --save
or
yarn add jplot
TODO: write this section in the future. For now, see the demo/*
html.
1.2 Including in the web page
TODO: write this section in the future.
2 Building From Source
2.1 Clone the repository and install dependencies
git clone https://github.com/EduardoJM/jplot.git
cd jplot
yarn
or
git clone https://github.com/EduardoJM/jplot.git
cd jplot
npm install
2.2 Build the browser examples
yarn ex
or
npm run ex
And, now, open the demo/index.html
and the demo is here.
2.3 Build the package version
yarn build
npm run build
3 Automatized tests
This project contain some development automatized tests with jest
. The tests is not complete for now and is not the better tests of the development world (because i'm not an expert in automatized tests).
To run the tests, in the project folder run:
yarn test
or
npm run test