Commit ec07c812dd4dbbffe1609af36ed139fb0569f7f2
1 parent
22397f43
Exists in
master
and in
4 other branches
Fix hover on grouped bar
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/main/static/js/charges.js
... | ... | @@ -175,6 +175,7 @@ function build_chart(div_selector, data_url, project_name, category) { |
175 | 175 | .attr("width", xCategories.bandwidth()) |
176 | 176 | .attr("height", d => height - yScale(d.value)) |
177 | 177 | .attr("fill", d => colorScale(d.key)) |
178 | + .attr("class", "bar") | |
178 | 179 | .on("mouseover", mouseovergrouped) |
179 | 180 | .on("mousemove", mousemove) |
180 | 181 | .on("mouseleave", mouseleave); | ... | ... |