Fix incorrect defaults location for Bubble (#8271)

This commit is contained in:
Jukka Kurkela 2021-01-05 14:57:09 +02:00 committed by GitHub
parent 0c48c1148a
commit df11fd98cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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: {