Remove duplicate scale building (#6247)

This commit is contained in:
Jukka Kurkela 2019-10-23 02:15:15 +03:00 committed by Evert Timberg
parent 6b6f1a4c51
commit cec2d2652e

View 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