1.0.9 • Published 5 years ago
jplot v1.0.9
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 --saveor
yarn add jplotTODO: 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
yarnor
git clone https://github.com/EduardoJM/jplot.git
cd jplot
npm install2.2 Build the browser examples
yarn exor
npm run exAnd, now, open the demo/index.html and the demo is here.
2.3 Build the package version
yarn buildnpm run build3 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 testor
npm run test