Skip to content

mboelstra/HTML5-Canvas-Gauge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

A gauge rendered on a HTML5 canvas.

Minimal working example:

var gauge = new Upp.Gauge();
gauge.setValue(1);

To customize the gauge provide options as argument when creating a gauge. An example specifying options:

var options = {
	renderTo: 'realtime-gauge',
	minValue: 0,
	maxValue: 100,
	startValue: 0,
    unit: " W",
    bounce : {
        decay: 2
    }
};

var gauge = new Upp.Gauge(options);

See function "getDefaultOptions" for all options.

About

A gauge rendered on a HTML5 canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published