-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.0.0-beta] Uncaught TypeError: easingFunction is not a function #1576
Comments
I ported this code from 1.0 not realizing the difference in |
Fixed in #1743 If |
Sooooo i'm in 2.4.0 and this still happens...So we can´t have animations now ? |
Having the same issue. Running version 2.4.0 as well. |
@WhitecastlePT @pietrofxq animations work fine in 2.4.0. Do you have a specific test case that does not work? |
@etimberg Looks like animation is working, but explicit setting animation:true for the chart options gives this error |
oh, that makes sense because in the default config, |
@etimberg @pietrofxq i reached the same conclusion after your input... |
Fixed this by doing animation block, var pieOptions = {
...
animation: {
steps: 50,
easing: "easeOut",
rotate: true,
scale: false
},
responsive: true,
...
}; |
Assuming you want a line chart, use this configuration 🔨 {
steps: 50,
scale: false
} |
This happens on mousemove events after being rendered. Animation is disabled via options.
Client code to render is:
The text was updated successfully, but these errors were encountered: