You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of legacy callbacks in scales that should either be removed or replaced with plugin hooks.
Legacy callbacks:
beforeUpdate
beforeSetDimensions
afterSetDimensions
beforeTickToLabelConversion
afterTickToLabelConversion
beforeCalculateLabelRotation
afterCalculateLabelRotation
beforeFit
afterFit
afterUpdate
Possible Implementation
Replace direct call(this.options[plugin]) with Scale._callHooks() as we've already done for beforeDataLimits, afterDataLimits, beforeBuildTicks, afterBuildTicks
The text was updated successfully, but these errors were encountered:
Feature Proposal
There are a number of legacy callbacks in scales that should either be removed or replaced with plugin hooks.
Legacy callbacks:
Possible Implementation
Replace direct
call(this.options[plugin]
) withScale._callHooks()
as we've already done forbeforeDataLimits
,afterDataLimits
,beforeBuildTicks
,afterBuildTicks
The text was updated successfully, but these errors were encountered: