Skip to content

A Simple D3 Gauge with dynamic update and configurable options. Based on the resuabled D3 component module.

Notifications You must be signed in to change notification settings

prasanaworld/GROW-GUAGE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GROW-GUAGE

A Simple D3 Gauge with dynamic update and configurable options. Based on the resuabled D3 component module.

Dependencies

D3.js

Grow Gauge

Usuage

LoadGrowGuage(elementDOM, initalValue , [config]);

Option

  • elementDom : HTML Dom where the gauge to be loaded
  • initalValue : Inital value for the guage, By Default set to 0

configuration

var config = LoadGrowGuage.DefaultSettings();
LoadGrowGuage(elementDOM, initalValue , config);

Default Configuration Object

{
  color: ["#BACA29", "#ECE00E", "#E7B410", "#F4A300", "#ED6000"],
  guageText: "Grow Gauge",
  gradientCircle: true,
  gradientSegment: false
}
  • colors : Array to specify the color code for various section
  • gaugeText : Gauge Heading to be displayed, By default set to Grow Gauge
  • gradientCircle : Boolean value to indicate whether the circle color is gradient.
  • graidentSegment : Boolean value to indicate whether the segment color are gradient.

Author

Prasana k

License

MIT

About

A Simple D3 Gauge with dynamic update and configurable options. Based on the resuabled D3 component module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published