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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -