From df11fd98cc7e453ae4503b268329ce2745eb2e30 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Tue, 5 Jan 2021 14:57:09 +0200 Subject: [PATCH] Fix incorrect defaults location for Bubble (#8271) --- docs/docs/charts/bubble.mdx | 2 +- test/specs/global.defaults.tests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/charts/bubble.mdx b/docs/docs/charts/bubble.mdx index ec6b3d543..9c42ab33a 100644 --- a/docs/docs/charts/bubble.mdx +++ b/docs/docs/charts/bubble.mdx @@ -106,7 +106,7 @@ All these values, if `undefined`, fallback to the associated [`elements.point.*` ## Default Options -We can also change the default values for the Bubble chart type. Doing so will give all bubble charts created after this point the new defaults. The default configuration for the bubble chart can be accessed at `Chart.defaults.bubble`. +We can also change the default values for the Bubble chart type. Doing so will give all bubble charts created after this point the new defaults. The default configuration for the bubble chart can be accessed at `Chart.defaults.controllers.bubble`. ## Data Structure diff --git a/test/specs/global.defaults.tests.js b/test/specs/global.defaults.tests.js index 0b00382d4..6974c43bf 100644 --- a/test/specs/global.defaults.tests.js +++ b/test/specs/global.defaults.tests.js @@ -1,7 +1,7 @@ describe('Default Configs', function() { describe('Bubble Chart', function() { it('should return correct tooltip strings', function() { - var config = Chart.defaults.bubble; + var config = Chart.defaults.controllers.bubble; var chart = window.acquireChart({ type: 'bubble', data: { -- 2.47.3