score:1

Accepted answer

It's easier for folks to answer your question if you include a reproducible example and the relevant code in your question.

Did you namespace your events? You probably want mouseover and mouseout to be handled by both the line chart and d3.tip.

So using the quick usage d3.tip code,

  .on('mouseover', tip.show)
  .on('mouseout', tip.hide)

should probably be

  .on('mouseover.tip', tip.show)
  .on('mouseout.tip', tip.hide)

This way dc.lineChart will not lose its own mouseout events.

Example fiddle: http://jsfiddle.net/gordonwoodhull/8z15xboq/6/


Related Query

More Query from same tag