Skip to content

HTML5 Canvas Gauge. Tiny implementation of highly configurable gauge using pure JavaScript and HTML5 canvas. No dependencies. Suitable for IoT devices because of minimum code base.

License

Notifications You must be signed in to change notification settings

Mikhus/canvas-gauges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6b179f8 · Apr 9, 2020
Sep 11, 2016
Apr 16, 2019
Oct 1, 2016
Apr 9, 2020
Dec 1, 2016
Aug 23, 2016
Aug 16, 2016
Aug 16, 2016
Mar 15, 2018
Aug 17, 2016
Dec 10, 2019
Apr 9, 2020
Sep 27, 2016
Dec 10, 2019
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020
Apr 9, 2020

Repository files navigation

HTML Canvas Gauges v2.1

Build Status Test Coverage Documentation Coverage License run on repl.it

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:

Add-Ons

Here are some third-party libraries which are developed and delivered to use canvas-gauges as components for a different popular frameworks:

Special Thanks

Lohika

For supporting development!

SauceLabs

For testing support!

And to all contributors!

License

This code is subject to MIT license.

About

HTML5 Canvas Gauge. Tiny implementation of highly configurable gauge using pure JavaScript and HTML5 canvas. No dependencies. Suitable for IoT devices because of minimum code base.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published