Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Commit 1e2b24f6 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

fixed legend selection

parent 1c4d583f
......@@ -103,7 +103,7 @@ export default class extends Chart {
.attr('fill', color)
.text(d => d)
.on('mouseenter', (d) => {
this.svg.selectAll('.ac-pie-slice')
this.svg.selectAll(`.ac-pie-slice.ac-pie-circle-idx-${circleIdx}`)
.filter(e => e.data.group === d)
.style('fill', '#f00');
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment