Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 31ff637

Browse files
committed
Attach error bar drawing to 'afterDatasetsDraw' hook so that tooltips aren't covered up by the error bars.
1 parent c1efcd3 commit 31ff637

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const ErrorBarsPlugin = {
156156
* @param easingValue animation function
157157
* @param options plugin options
158158
*/
159-
afterDraw(chart, easingValue, options) {
159+
afterDatasetsDraw(chart, easingValue, options) {
160160
// wait for easing value to reach 1 at the first render, after that draw immediately
161161
chart.__renderedOnce = chart.__renderedOnce || easingValue === 1;
162162

0 commit comments

Comments
 (0)