set stroke-dasharray to zero for highlightLine

This commit is contained in:
Sanj 2011-06-27 20:09:02 +05:30
parent 1bb3eabf1a
commit 533ebba80b

View File

@ -229,8 +229,10 @@ jQuery.fn.isLegend = function() {
jQuery.fn.highlightLine= function() { jQuery.fn.highlightLine= function() {
this.find('line, polyline, path').css({'stroke': '#000000'}); this.find('line, polyline, path').css({'stroke': '#000000'});
this.find('path').css({'strokeDasharray': '0'});
} }
jQuery.fn.unhighlightLine = function() { jQuery.fn.unhighlightLine = function() {
this.find('line, polyline, path').css({'stroke': '#666666'}); this.find('line, polyline, path').css({'stroke': '#666666'});
this.find("path").css({'strokeDasharray': '4'});
} }