Chart.js: How to Disable/Switch Off Tooltips on hover?

Created on 12 Feb 2016  ·  6Comments  ·  Source: chartjs/Chart.js

In the v2 docs there are instructions to change the tooltip .styles but there is no instruction to turn the tooltip feature off (on hover).

Any help is greatly appreciated

support

Most helpful comment

The whole options.tooltips is being ignored for me. None of the settings passed to tooltips are applied

All 6 comments

I think options.tooltips.enabled should be set to false

Closed as resolved

The whole options.tooltips is being ignored for me. None of the settings passed to tooltips are applied

@IgnusG Try toolTip instead of tooltips.

Edit: Nevermind, still happening for me

@sifex just tested this and it works as expected, ie. no tooltip was shown.

var options = {
  tooltips: {
    enabled: false
  }
};
new Chart(ctx, {
  type: 'line',
  data: data,
  options: options
});

@etimberg Yea, got it to work, currently using the angular version and it seems to operate differently when dealing with multiple sets of data.

Was this page helpful?
0 / 5 - 0 ratings