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

Commit 787fe6c

Browse files
author
Stefan Luger
authored
Merge pull request #9 from jdrodjpl/error-bars-appear-on-top-of-tooltips
Attach error bar drawing to 'afterDatasetsDraw' hook so that tooltips…
2 parents c1efcd3 + 31ff637 commit 787fe6c

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)