Getting Canvas Gauges
Download
There are plenty of options obtaining canvas gauges: downloading packages for local use on your website; installing packages from node package manager; using content delivery network or using a source code.
Download Latest Minified Packages (v2.1.7)
Use right-click and “Save link as…” to download minified packages to your local device. If you wish simply refer it from your code - it is possible, but much preferable to use CDN for this.
- All-in-one (43.7 Kb)
- Only radial gauge (31.5 Kb)
- Only linear gauge (33.4 Kb)
Installing From NPM
All-in-one
$ npm install canvas-gauges
Only radial gauge
$ npm install canvas-gauges@radial
Only linear gauge
$ npm install canvas-gauges@linear
Loading From CDN
- All-in-one
<script src="//cdn.rawgit.com/Mikhus/canvas-gauges/gh-pages/download/2.1.7/all/gauge.min.js"></script>
- Only radial gauge
<script src="//cdn.rawgit.com/Mikhus/canvas-gauges/gh-pages/download/2.1.7/radial/gauge.min.js"></script>
- Only linear gauge
<script src="//cdn.rawgit.com/Mikhus/canvas-gauges/gh-pages/download/2.1.7/linear/gauge.min.js"></script>
Getting Canvas Gauges Sources
- Fork to your account on github
- Clone repository locally
$ git clone [email protected]:Mikhus/canvas-gauges.git
Other Related Packages
There are plenty of third-party packages available to use canvas-gauges as a components for a different frameworks. Please, refer to a corresponding repository for installation and usage details: