javascript - Events in d3 graphs -


i'm using line char nvd3 http://nvd3.org/ghpages/linewithfocus.html want customise tooltip events (stop them fading out when hover out) , add other events click.

how can add events , how can select points have been plotted json document (ie click in point triggers event).

thanks!

i know google thing, have tried.

nvd3 unfortunately not flexible when comes things this. customise behaviour you've mentioned, you're better off building graph in pure d3. bit more difficult start with, allow want quite afterwards.

a place start this example. there many more on d3 website, including ones interaction, tooltips etc.


Comments