You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "onclick" (or mouseover/mouseout) events are detected and work perfectly fine for a donut chart as seen in this example : http://c3js.org/samples/chart_donut.html
I tried incorporating the same for a bar chart or a line chart. It doesn't work. Are these events only for donut charts or is there any other possible way I can do it for these charts(Bar, Line and others)?
The text was updated successfully, but these errors were encountered:
You can set an onclick in the data section.
Here you will get the event for bar and line chart. You will get the targeted object as argument to your function.
To see what you can get, open console and try
The "onclick" (or mouseover/mouseout) events are detected and work perfectly fine for a donut chart as seen in this example :
http://c3js.org/samples/chart_donut.html
I tried incorporating the same for a bar chart or a line chart. It doesn't work. Are these events only for donut charts or is there any other possible way I can do it for these charts(Bar, Line and others)?
The text was updated successfully, but these errors were encountered: