diff --git a/jquery.flot.pie.js b/jquery.flot.pie.js index 55e8013..14a37ad 100644 --- a/jquery.flot.pie.js +++ b/jquery.flot.pie.js @@ -682,7 +682,7 @@ More detail and specific examples can be found in the included HTML file. function drawHighlight(series) { - if (series.angle <= 0 || isNaN(angle)) + if (series.angle <= 0 || isNaN(series.angle)) return; //octx.fillStyle = parseColor(options.series.pie.highlight.color).scale(null, null, null, options.series.pie.highlight.opacity).toString();