angularjs - Event Handling in nvd3 -


i using nvd3 , trying add event handling while clicking on chart. face problems while implementing , not able solution due lack of documentation of nvd3. followed link, still following error in console:

referenceerror: chart not defined

can tell me missing or best solution event handling in nvd3.

probably problem name of graph variable; make fiddle you. in example, "chart" name of graph variable. check out in case it's same.

var chart = nv.models.multibarchart(); 

anyway, fiddle can see full code. if click on item, can see messages in console.

http://jsfiddle.net/g952qb5c/


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -