I'm using Charts.js Doughnut chart that displays dynamic data which arrives on time intervals.
When I cancel the time intervals calls or reload the page! it looks fine:
When I refresh that with time intervals and go over with mouse it seems that it draw another layer on each call.
I already tried to draw it once and to remove and set the new data, but it still goes crazy on mouse over.
var canvas = document.getElementById('modular-doughnut');
var context = canvas.getContext('2d');
context.clearRect ( 0 , 0 , canvas.width, canvas.height );
var moduleDoughnut = new Chart(context).Doughnut(chart_data, config);
EDIT: Thanks to @Koogle I can say that the problem is in tooltips.
How to solve that?