mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Fix incorrect defaults location for Bubble (#8271)
This commit is contained in:
parent
0c48c1148a
commit
df11fd98cc
@ -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
|
||||
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user