Fix the parameter order of before/afterEvent (#7757)

This commit is contained in:
Jukka Kurkela 2020-09-04 23:47:08 +03:00 committed by GitHub
parent 4fa2c408f0
commit c749fbdf5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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