Add legend

This commit is contained in:
Maximilian Grundke
2018-03-19 18:45:50 +01:00
parent d55b39eb48
commit 0e613d941d
3 changed files with 59 additions and 5 deletions

View File

@@ -65,8 +65,7 @@ $(function() {
.data(data)
.enter()
.append("rect")
.style("fill", "#008cba")
.style("cursor", "pointer")
.attr("class", "value-bar")
.on("mousemove", function (d){
tooltip
.style("left", d3.event.pageX - 50 + "px")