Reputation: 1228
I am using C3.js to graph some data. I want to be able to show the tooltip for the last data point series from a button click or even by default once the chart has rendered. Is there anyway to do this? Their documentation has a section for tooltip.show but there is no documentation for it.
Upvotes: 5
Views: 2181
Reputation: 1576
The simpliest syntax is this:
chart.tooltip.show({x: 5});
Is this is what you want?
Upvotes: 5