jplot
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

jPlot

Dynamic Math Graphs Ploting in JavaScript.

GitHub License GitHub Stars npm

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

4 References

4.1 HTML5 Canvas

4.2 Colors

Readme

Keywords

none

Package Sidebar

Install

npm i jplot

Weekly Downloads

7

Version

1.0.9

License

MIT

Unpacked Size

139 kB

Total Files

57

Last publish

Collaborators

  • edu.js.o