* @private
(chart, anims, date, type)
| 21 | * @private |
| 22 | */ |
| 23 | _notify(chart, anims, date, type) { |
| 24 | const callbacks = anims.listeners[type]; |
| 25 | const numSteps = anims.duration; |
| 26 | |
| 27 | callbacks.forEach(fn => fn({ |
| 28 | chart, |
| 29 | initial: anims.initial, |
| 30 | numSteps, |
| 31 | currentStep: Math.min(date - anims.start, numSteps) |
| 32 | })); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * @private |