HTML5 Canvas Gauge
JavaScript CSS HTML
Latest commit 7765087 Jan 10, 2017 @Mikhus committed on GitHub Merge pull request #102 from Mikhus/v2.1.2
Merge release 2.1.2
Permalink
Failed to load latest commit information.
assets/styles generated docs styles update Sep 11, 2016
examples Additional fix for issue #99 (linear gauge fix) Jan 10, 2017
fonts Breaking: value-box drawing re-worked. Several bugfixes here: Oct 1, 2016
lib Additional fix for issue #99 (linear gauge fix) Jan 10, 2017
test Implemented enhancement #82 - now possible to inject into gauge drawi… Dec 1, 2016
.babelrc Build process optimized Aug 23, 2016
.editorconfig Version 2 re-factoring and improvements Aug 16, 2016
.eslintrc Version 2 re-factoring and improvements Aug 16, 2016
.gitignore Fixed issue #78 - failed when loading through webpack as CommonJS module Oct 18, 2016
.npmignore End-to-end tests integration done Aug 17, 2016
.travis.yml travis config update Dec 2, 2016
LICENSE Additioanl fix to issue #64: more accurate license information Sep 27, 2016
README.md README update Dec 2, 2016
bower.json Init next version 2.1.2 Dec 29, 2016
docs-coverage.svg Fixed issue #91 - problem with plate borders draw on a device with hi… Dec 25, 2016
gauge.min.js Additional fix for issue #99 (linear gauge fix) Jan 10, 2017
gauge.min.js.map Additional fix for issue #99 (linear gauge fix) Jan 10, 2017
gulpfile.js Implemented enhancement #82 - now possible to inject into gauge drawi… Dec 1, 2016
karma.conf.js New option: animateOnInit implemented Sep 14, 2016
package.json Init next version 2.1.2 Dec 29, 2016
test-coverage.svg Fixed issue #99 - minor ticks draw crash when minorTicks=0 for exact … Jan 10, 2017

README.md

HTML Canvas Gauges v2.1

Build Status Test Coverage Documentation Coverage License

Canvas Gauges

This is tiny implementation of highly configurable gauge using pure JavaScript and HTML5 canvas. No dependencies. Suitable for IoT devices because of minimum code base.

Installation

Canvas gauges can be simply installed using npm package manager. Depending on your needs there is possibility to install whole gauge library or only that part you really need for your project. To install the whole library, run:

$ npm install canvas-gauges

If you only need the exact type of the gauge it can be installed using the appropriate npm tag. Currently the following gauges are supported: linear, radial.

To install only linear gauge, run:

$ npm install canvas-gauges@linear

To install only radial gauge, run:

$ npm install canvas-gauges@radial

This strategy useful only if you need to minimize your code base and plan to use ONLY a specific gauge type. If you need to use various gauge types in your project it is recommended to use whole gauge package.

More...

Documentation

You can find complete docs on the canvas gauges web-site:

Special Thanks

Lohika

For supporting development!

SauceLabs

For testing support!

And to all contributors!

License

This code is subject to MIT license.