Commits

cleonello  committed c13aefa

Fixed #272, pie highlighting not working after replot. These should have been commited with r654.

  • Participants
  • Parent commits 026428e

Comments (0)

Files changed (2)

File src/jqplot.shadowRenderer.js

             if (isarc) {
                 ctx.arc(points[0], points[1], points[2], points[3], points[4], true);                
             }
-            else {
+            else if (points && points.length){
                 var move = true;
                 for (var i=0; i<points.length; i++) {
                     // skip to the first non-null point and move to it.

File src/jqplot.shapeRenderer.js

                 return;
             }
         }
-        else {
+        else if (points && points.length){
             var move = true;
             for (var i=0; i<points.length; i++) {
                 // skip to the first non-null point and move to it.