Chris Leonello avatar Chris Leonello committed d7a7fdb

Errant copy/paste blew up pugin.

Comments (0)

Files changed (1)

src/plugins/jqplot.pointLabels.js

 	    var p = this.plugins.pointLabels;
 	    if (p.labels.length == 0 && p.labelsFromSeries) {
     	    if (p.stackedValue) {
-    	        if (p._plotData.length && p._plotData[0].length){
+    	        if (this._plotData.length && this._plotData[0].length){
     	            var idx = p.seriesLabelIndex || this._plotData[0].length -1;
         	        for (var i=0; i<this._plotData.length; i++) {
         	            p.labels.push(this._plotData[i][idx]);
         	    }
     	    }
     	    else {
-    	        if (p.data.length && p.data[0].length) {
+    	        if (this.data.length && this.data[0].length) {
     	            var idx = p.seriesLabelIndex || this.data[0].length -1;
         	        for (var i=0; i<this.data.length; i++) {
         	            p.labels.push(this.data[i][idx]);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.