C3.js shows tooltip with click button

I use C3.js to plot some data. I want to show a tooltip for the last series of data points with a click of a button or even the default after rendering a graph. Is there any way to do this? Their documentation has a section for tooltip.show, but there is no documentation for it.

missing documentation

+4
source share
1 answer

The simplest syntax is as follows:

chart.tooltip.show({x: 5});

jsFiddle demo

Is this what you want?

+3
source

All Articles