A simple gauge like control. For an animated example, see here (the animation was added by pygy).
Inputs are:
- colors: an array of strings representing category colors. The more colors you specify, the more categories there will be.
- margin: in pixels around the SVG
- r1 and r2: the inner and outer radius in pixels (default 80 and 140, respectively)
- valueInDegrees: the value of the gauge meter in degrees [0-180], default 0.
- arrowColor: color of the gauge meter, default
grey
. - arrowThickness: base width of the gauge meter, in pixels, default 8.