jettro / c3-angular-directive

Contains angularjs directives that use c3js to create good looking graphs
http://jettro.github.io/c3-angular-directive/
MIT License
203 stars 98 forks source link

How to capture the x axis tick label #133

Open vishnu038 opened 8 years ago

vishnu038 commented 8 years ago

http://jsfiddle.net/duc8sLmo/

whenever we hover on bar chart on top of that we see a x axis tick label i need to capture"may 20015" "zune 2015" onclick event . tried with onclick i got this object { x: 1, value: 2, id: "y", index: 1, name: "y" }.

i am getting index value on each click , not getting that string x="may 2015" please help me with this.