Commits

tomasc committed b530547

Fix for issue #509

  • Participants
  • Parent commits 058e50b

Comments (0)

Files changed (1)

src/plugins/jqplot.enhancedLegendRenderer.js

                     tr.appendTo(this._elem);
                 }
                 for (j=0; j<nc; j++) {
-                    if (idx < series.length && series[idx].show || series[idx].showLabel){
+                    if (idx < series.length && (series[idx].show || series[idx].showLabel)){
                         s = series[idx];
                         lt = this.labels[idx] || s.label.toString();
                         if (lt) {
             this.eventCanvas._elem.after(e);
         }
     };
-})(jQuery);
+})(jQuery);