]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Remove the minAnimationSteps option since we did not end up needing it.
authorEvert Timberg <evert.timberg@gmail.com>
Sun, 12 Apr 2015 01:11:49 +0000 (21:11 -0400)
committerEvert Timberg <evert.timberg@gmail.com>
Sun, 12 Apr 2015 01:11:49 +0000 (21:11 -0400)
src/Chart.Core.js

index 058236e5b033adf0eb5b4c501a39c13bf0a17708..6ee080607cb271edfe252893ea946254ebed3dd0 100755 (executable)
@@ -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",
                        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
        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