Skip to content

Commit

Permalink
Add id+ <id> class to legend element
Browse files Browse the repository at this point in the history
So that we can later show more information in the legend when hovering
on the blip.
  • Loading branch information
Erwin Rooijakkers committed Oct 17, 2018
1 parent b55b502 commit 01c6f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ function radar_visualization(config) {
.data(segmented[quadrant][ring])
.enter()
.append("text")
.attr("class", "legend" + quadrant + ring)
.attr("transform", function(d, i) { return legend_transform(quadrant, ring, i); })
.attr("class", function(d, i) { return "legend" + quadrant + ring + " id" + d.id; })
.text(function(d, i) { return d.id + ". " + d.label; })
.style("font-family", "Arial, Helvetica")
.style("font-size", "11");
Expand Down

0 comments on commit 01c6f87

Please sign in to comment.