d3.chart.tooltips icon indicating copy to clipboard operation
d3.chart.tooltips copied to clipboard

use pageX vs. clientX

Open awirick opened this issue 12 years ago • 0 comments

clientX/clientY will fail if a user is scrolled. pageX/pageY seem better here. layersX/layersY looks like it would also work. PR coming.

Considering using relative position within the chart area and using offsetX/offsetY for positioning instead. Make more sense, or is there a reason not to go for that? Perhaps an option-able feature...

awirick avatar Jun 20 '13 22:06 awirick