[Chartjs]-Display a single tooltip with Chart.JS?

2👍

this is the solution https://jsfiddle.net/p2yd6hut/2/
on the function onAnimationComplete i have created a new temp array with the value >= to 390

onAnimationComplete: function()
    {    var tempArr = [];
     this.datasets[0].points.forEach(function(point){
         if(point.value >= 390){
             tempArr.push(point);
         }
     });
        this.showTooltip(tempArr, true);          
    }

Leave a comment