question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue
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
    }
});

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
jamespsterlingcommented, Feb 15, 2017

Fixed this by doing animation block,

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

2reactions
WhitecastlePTcommented, Dec 28, 2016

Sooooo i’m in 2.4.0 and this still happens…So we can´t have animations now ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
Bar animations in 2.0.0-beta/dev are not working for me ... Uncaught TypeError: easingFunction is not a functionanimation.render ...
Read more >
Developers - easingFunction is not a function - - Bountysource
Hello, I would ask help with the following: I am using angular for controllers and when I update the version of chart.js 2,...
Read more >
https://raw.githubusercontent.com/valor-software/n...
is not a function ... ](https://github.com/valor-software/ng2-charts/compare/2.0.0-beta.21...v2.0.0) ... TypeError: t.controllers\[o\] is not a constructor ...
Read more >
ng2-charts | Yarn - Package Manager
#1141; QueryList returning SlideComponent instead ViewContainerRef #1140; Line chart not updating #1135; ERROR Error: Uncaught (in promise): TypeError: Object(.
Read more >
JSDoc: Source: fabric.js
shadowBlur value, * which is unitless and not rendered equally across ... can take it here * http://mozilla.org/MPL/2.0/ */ function arcToSegments(toX, toY, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found