]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Use correct index when resolving bubble options (#7375)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Tue, 19 May 2020 14:28:16 +0000 (07:28 -0700)
committerGitHub <noreply@github.com>
Tue, 19 May 2020 14:28:16 +0000 (10:28 -0400)
src/controllers/controller.bubble.js

index 6b5dae184116f8d3299c99cbe843c73d70e42678..fdbe5b90f1a89b476fd9e7fb081122c3f20eda8b 100644 (file)
@@ -110,7 +110,7 @@ export default class BubbleController extends DatasetController {
                        };
 
                        if (includeOptions) {
-                               properties.options = me.resolveDataElementOptions(i, mode);
+                               properties.options = me.resolveDataElementOptions(index, mode);
 
                                if (reset) {
                                        properties.options.radius = 0;