c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.35k stars 1.39k forks source link

LineChart: Data-events do not trigger if tooltip.horizontal is true #2641

Closed Venefilyn closed 5 years ago

Venefilyn commented 5 years ago

Whenever tooltip.horizontal is enabled the data.onclick, data.onmouseover, etc. do not trigger.

data.onclick only triggers if it's a point on the first series in data.columns

Expected results:

  1. Click on a point from data2
  2. Expect alert to pop-up.

Actual results:

  1. Click on point from data2
  2. Nothing happens