ankane/chartkick

Tooltip not showing in chrome but showing in firefox

hkleow opened this issue · 2 comments

Hi guys i have a strange bug. My line graph tool tip is not showing on google chrome but its working on firefox
Screen Shot 2019-11-14 at 3 25 13 PM
Screen Shot 2019-11-14 at 3 25 24 PM
is there anything i did wrong? :/

<%= line_chart get_graph_project_path(session[:keyword_id]), colors: ["#2196f3"], min: 1, max: 100,discrete: true, legend: false, messages: {empty: "No Ranking Yet... :("} ,library: { scales: { yAxes: [{ ticks: { reverse: true, }, allowDecimals: false }] }}, adapter: "chartjs" %>

Hey @hkleow, I'm not really sure how to reproduce. It may be related to other JavaScript on the page. Can you try reproducing with a fresh Rails app?

Managed to fixed it. Not sure why, all the sudden it was working again, might be some javascript file conflicting it. :/