Skip to content

Commit

Permalink
Highlight and show bubble on legend item hover
Browse files Browse the repository at this point in the history
  • Loading branch information
Erwin Rooijakkers committed Oct 18, 2018
1 parent dae5a1b commit 7efcfb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ function radar_visualization(config) {
.attr("id", function(d, i) { return "legendItem" + d.id; })
.text(function(d, i) { return d.id + ". " + d.label; })
.style("font-family", "Arial, Helvetica")
.style("font-size", "11");
.style("font-size", "11")
.on("mouseover", function(d) { showBubble(d); highlightLegendItem(d); })
.on("mouseout", function(d) { hideBubble(d); unhighlightLegendItem(d); });
}
}
}
Expand Down

0 comments on commit 7efcfb0

Please sign in to comment.