Commits

Anonymous committed 2b6a6f8

First cut of gauge options. (Note, jqplot still needs updating in 3pip.)

  • Participants
  • Parent commits 2f1ded1

Comments (0)

Files changed (1)

File src/plugins/jqplot.meterGaugeRenderer.js

         this.needleColor = "#C3D3E5";
         // prop: tickColor
         // color of the tick marks around the gauge.
-        this.tickColor = "989898";
+        this.tickColor = "#989898";
         // prop: ringWidth
         // width of the ring around the gauge.  Auto computed by default.
         this.ringWidth = null;
                 for (i = 0; i<this.ticks.length; i++) {
                     ctx.beginPath();
                     ctx.lineWidth = 1.5 + this.diameter/360;
-                    ctx.strokeStyle = this.ringColor;
+                    ctx.strokeStyle = this.tickColor;
                     var wps = ts*i+sa;
                     ctx.moveTo(-orad * Math.cos(ts*i+sa), orad * Math.sin(ts*i+sa));
                     ctx.lineTo(-(orad-tl) * Math.cos(ts*i+sa), (orad - tl) * Math.sin(ts*i+sa));