Chart.js: Disabling tooltip animation

Created on 28 Apr 2018  Â·  3Comments  Â·  Source: chartjs/Chart.js

Is it possible to disable the fadein / fadeout animation of tooltips?

support

Most helpful comment

Adding to what others have said here, anywhere in your options object {}, add the following.

hover: {
  animationDuration:0
}

All 3 comments

@Lokilicious I think changing the hover animation duration http://www.chartjs.org/docs/latest/general/interactions/ changes the tooltip animation time.

Would this work for you?

Closing as solved

Please ask questions on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js

Adding to what others have said here, anywhere in your options object {}, add the following.

hover: {
  animationDuration:0
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

SylarRuby picture SylarRuby  Â·  3Comments

Woogles picture Woogles  Â·  3Comments

longboy picture longboy  Â·  3Comments

adriantombu picture adriantombu  Â·  3Comments

gabrieldesouza picture gabrieldesouza  Â·  3Comments