From: Jukka Kurkela Date: Tue, 5 Jan 2021 12:57:09 +0000 (+0200) Subject: Fix incorrect defaults location for Bubble (#8271) X-Git-Tag: v3.0.0-beta.8~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df11fd98cc7e453ae4503b268329ce2745eb2e30;p=thirdparty%2FChart.js.git Fix incorrect defaults location for Bubble (#8271) --- 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: {