Skip to content

Release 1.0.0

Compare
Choose a tag to compare
@naikus naikus released this 25 Oct 06:10
· 80 commits to master since this release

Added custom label support

      var gauge1 = Gauge(
        document.getElementById("gauge1"), 
            {
          max: 100,
          dialStartAngle: -90,
          dialEndAngle: -90.001, 
          value: 100,
          label: function(value) {
            return Math.round(value) + "/" + this.max;
          }
        }
      );