novus/nvd3 — pull request #225 by holmesma (2012-10-03 10:10:59+00:00)
Title: Tooltip not shown after resize for charts that use scatter.js

This is a follow on for isse #224. As mentioned in scatter.js a reference to defsEnter is empty within the function updateInteractiveLayer() after a chart resize due to the data being the same.

I have replaced

defsEnter.append('clipPath').attr('id', 'nv-points-clip-' + id);

with

wrap.select("defs").append('clipPath').attr('id', 'nv-points-clip-' + id);

and tested my side.

thank you