Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

html5 Gauge

A simple html5 canvas gauge.

Examples

Simple

var g1 = new Gauge('gauge1');
g1.bind('text1');
g1.setValue(75);

With callback

var g2 = new Gauge('gauge2', {'gaugeColor':'#ddd', 'needleColor':'#555'});
g2.bind('text2');
g2.max = 30;
g2.setValue(10, function() {
   setTimeout(function() { g2.setValue(28); }, 1500);
});
Something went wrong with that request. Please try again.