]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Remove duplicate scale building (#6247)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Tue, 22 Oct 2019 23:15:15 +0000 (02:15 +0300)
committerEvert Timberg <evert.timberg+github@gmail.com>
Tue, 22 Oct 2019 23:15:15 +0000 (19:15 -0400)
src/core/core.controller.js

index 04d86a3d97a7a3880159a23e237be1868485132b..46b356e68205810917b7e9f1b33fcf71dd9cd423 100644 (file)
@@ -247,9 +247,6 @@ helpers.extend(Chart.prototype, /** @lends Chart */ {
                        me.resize(true);
                }
 
-               // Make sure scales have IDs and are built before we build any controllers.
-               me.ensureScalesHaveIDs();
-               me.buildOrUpdateScales();
                me.initToolTip();
 
                // After init plugin notification