From c749fbdf5f8ec08df0261fd8600684ce000a9cf0 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Fri, 4 Sep 2020 23:47:08 +0300 Subject: [PATCH] Fix the parameter order of before/afterEvent (#7757) --- src/core/core.plugins.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/core.plugins.js b/src/core/core.plugins.js index 4ceab715e..d24b4d56a 100644 --- a/src/core/core.plugins.js +++ b/src/core/core.plugins.js @@ -289,8 +289,8 @@ function createDescriptors(plugins, options) { * the event will be discarded. * @param {Chart} chart - The chart instance. * @param {IEvent} event - The event object. - * @param {object} options - The plugin options. * @param {boolean} replay - True if this event is replayed from `Chart.update` + * @param {object} options - The plugin options. */ /** * @method IPlugin#afterEvent @@ -298,8 +298,8 @@ function createDescriptors(plugins, options) { * will not be called if the `event` has been previously discarded. * @param {Chart} chart - The chart instance. * @param {IEvent} event - The event object. - * @param {object} options - The plugin options. * @param {boolean} replay - True if this event is replayed from `Chart.update` + * @param {object} options - The plugin options. */ /** * @method IPlugin#resize