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

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

c - getting error: cannot take the address of an rvalue of type 'int' -