Skip to content
Snippets Groups Projects
Commit 24ae7992 authored by Georgi's avatar Georgi
Browse files

Added a functionality for redirecting to the evidence inspect page when...

Added a functionality for redirecting to the evidence inspect page when clicking on a specific bubble in the bubble graph
parent e3f0753f
No related branches found
No related tags found
1 merge request!7Radar chart
Pipeline #7236 failed
...@@ -38,7 +38,10 @@ ...@@ -38,7 +38,10 @@
.attr("id", d => (d.leafUid = d.data.id)) .attr("id", d => (d.leafUid = d.data.id))
.attr("r", d => d.r) .attr("r", d => d.r)
.attr("fill-opacity", 0.7) .attr("fill-opacity", 0.7)
.attr("fill", d => colors(d.data.score)); .attr("fill", d => colors(d.data.score))
.on("click", function(d) {
window.location = "/app/evidence/" + d.srcElement.id;
});
leaf.append("clipPath") leaf.append("clipPath")
.attr("id", d => (d.clipUid = "clip-" + d.data.id)) .attr("id", d => (d.clipUid = "clip-" + d.data.id))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment