mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Remove the minAnimationSteps option since we did not end up needing it.
This commit is contained in:
parent
b1cbf04f25
commit
0a5f92a854
@ -60,9 +60,6 @@
|
||||
|
||||
// Number - Number of animation steps
|
||||
animationSteps: 60,
|
||||
|
||||
// Number - Minimum number of animation steps to complete regardless of frame rate
|
||||
minAnimationSteps: 10,
|
||||
|
||||
// String - Animation easing effect
|
||||
animationEasing: "easeOutQuart",
|
||||
@ -939,7 +936,6 @@
|
||||
if (this.options.animation && !reflow){
|
||||
var animation = new Chart.Animation();
|
||||
animation.numSteps = this.options.animationSteps;
|
||||
animation.minSteps = this.options.minAnimationSteps;
|
||||
animation.easing = this.options.animationEasing;
|
||||
|
||||
// render function
|
||||
@ -1365,7 +1361,6 @@
|
||||
Chart.Animation = Chart.Element.extend({
|
||||
currentStep: null, // the current animation step
|
||||
numSteps: 60, // default number of steps
|
||||
minSteps: 10, // default minimum number of steps.
|
||||
easing: "", // the easing to use for this animation
|
||||
render: null, // render function used by the animation service
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user