[2.0.0-beta] Uncaught TypeError: easingFunction is not a function

Uncaught TypeError: easingFunction is not a function
animation.render @ Chart-2.0.0-beta.js:1411
Chart.animationService.startDigest @ Chart-2.0.0-beta.js:1157
Chart.animationService.digestWrapper @ Chart-2.0.0-beta.js:1135

This happens on mousemove events after being rendered. Animation is disabled via options.

Client code to render is:

new Chart.Line(ctx, {
    data: {
        labels:   dates,
        datasets: [{
            label: "values",
            data:  values
        }]
    },
    options: {
        animation:               false,
        datasetFill:             false,
        pointHitDetectionRadius: 4
    }
});

Author: Fantashit

2 thoughts on “[2.0.0-beta] Uncaught TypeError: easingFunction is not a function

  1. Fixed this by doing animation block,

    var pieOptions = {
        ...
        animation: {
            steps: 50,
            easing: "easeOut",
            rotate: true,
            scale: false
        },
        responsive: true,
       ...
    };

Comments are closed.