Commits

Chris Leonello  committed a92b3d4

Allow tick labels to be blank strings.

  • Participants
  • Parent commits 7eac7a1

Comments (0)

Files changed (1)

File src/jqplot.axisTickRenderer.js

         // prop: showLabel
         // wether or not to show the label.
         this.showLabel = true;
-        this.label = '';
+        this.label = null;
         this.value = null;
         this._styles = {};
         // prop: formatter
     };
     
     $.jqplot.AxisTickRenderer.prototype.draw = function() {
-        if (!this.label) {
+        if (this.label === null) {
             this.label = this.prefix + this.formatter(this.formatString, this.value);
         }
         var style = {position: 'absolute'};