set stroke-dasharray to zero for highlightLine
This commit is contained in:
parent
1bb3eabf1a
commit
533ebba80b
2
radia.js
2
radia.js
|
@ -229,8 +229,10 @@ jQuery.fn.isLegend = function() {
|
|||
|
||||
jQuery.fn.highlightLine= function() {
|
||||
this.find('line, polyline, path').css({'stroke': '#000000'});
|
||||
this.find('path').css({'strokeDasharray': '0'});
|
||||
}
|
||||
|
||||
jQuery.fn.unhighlightLine = function() {
|
||||
this.find('line, polyline, path').css({'stroke': '#666666'});
|
||||
this.find("path").css({'strokeDasharray': '4'});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user