c3js / c3js/c3

Scatter plot shows tooptips on hidden points

Open
#2,043 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

When specific points are hidden the mouse over still picks them up and shows a tooltip over a non visible point. How to eliminate this because i have a lot of points and the mouse is not fine enough to pick them all up therefore filtering is needed?

if (visibleCount > 100) {
var circles = d3.selectAll("circle");
circles.filter(function (d) {
if (d.id != id) {
return d;
}
}).style("visibility", "hidden");
}
else {
d3.selectAll("circle").style("visibility", "visible");
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.