palantir / plottable

:bar_chart: A library of modular chart components built on D3
http://plottablejs.org/
MIT License
2.97k stars 224 forks source link

Fix selection mismatch on nearest entity due to hidden elements #3433

Closed themadcreator closed 6 years ago

themadcreator commented 6 years ago

Some features would cause a mismatch in the nearest entity d3.selection. This occurred because the source dataset indices that generate SVG elements were not properly maintained.

With this change, we store the original source dataset index for each rendered SVG entity.

blueprint-bot commented 6 years ago

Fix selection mismatch on nearest entity due to hidden elements

Demo: quicktests | fiddle