Commits

Chris Leonello  committed 1ddeca8

cleaned up some comments.

  • Participants
  • Parent commits fb2d8ab

Comments (0)

Files changed (1)

File src/plugins/jqplot.pyramidRenderer.js

         // so, now we have total number of axis values.
         var temp = (this.barPadding === 0) ? 1.0 : 0;
         if (paxis.name == 'xaxis' || paxis.name == 'x2axis') {
-            // this.barWidth = Math.round((paxis._offsets.max - paxis._offsets.min) / nvals - this.barPadding + 1.2*Math.pow(4, -Math.abs(this.barPadding)));
-            // this.barWidth = Math.round((paxis._offsets.max - paxis._offsets.min) / nvals - this.barPadding + temp);
             this.barWidth = (paxis._offsets.max - paxis._offsets.min) / nvals - this.barPadding + temp;
         }
         else {
             if (this.fill) {
-                // var fact = (paxis._offsets.min - paxis._offsets.max) / nvals - this.barPadding + 1.2*Math.pow(4, -Math.abs(this.barPadding));
-                // var fact = (paxis._offsets.min - paxis._offsets.max) / nvals - this.barPadding + temp);
                 this.barWidth = (paxis._offsets.min - paxis._offsets.max) / nvals - this.barPadding + temp;
             }
             else {
-                // var fact = (paxis._offsets.min - paxis._offsets.max) / nvals;
                 this.barWidth = (paxis._offsets.min - paxis._offsets.max) / nvals;
             }
-            // this.barWidth = Math.round(fact);
         }
     };