5

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.

missing documentation

segFault
  • 1,228
  • 2
  • 18
  • 41
  • I was able to use google charts to do this using annotations, even though I like c3 better I couldnt find the solution using c3 – segFault May 13 '15 at 15:02

1 Answers1

5

The simpliest syntax is this:

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

jsFiddle demo

Is this is what you want?

Kreozot
  • 1,577
  • 1
  • 16
  • 26