diff --git a/src/controllers/WordCloudController.ts b/src/controllers/WordCloudController.ts index 49b4dfb..9de1b96 100644 --- a/src/controllers/WordCloudController.ts +++ b/src/controllers/WordCloudController.ts @@ -38,9 +38,8 @@ export class WordCloudController extends DatasetController<'wordCloud', WordElem /** * @hidden */ - static readonly defaults = { + static readonly defaults = /* #__PURE__ */ { datasets: { - fit: true, animation: { colors: { properties: ['color', 'strokeStyle'], @@ -57,7 +56,7 @@ export class WordCloudController extends DatasetController<'wordCloud', WordElem /** * @hidden */ - static readonly overrides = { + static readonly overrides = /* #__PURE__ */ { scales: { x: { type: 'linear', @@ -210,7 +209,7 @@ export interface IWordCloudControllerDatasetOptions AnimationOptions<'wordCloud'> { /** * whether to fit the word cloud to the map, by scaling to the actual bounds - * @default true + * @default false */ fit: boolean; } diff --git a/src/elements/WordElement.ts b/src/elements/WordElement.ts index 51bff34..687844b 100644 --- a/src/elements/WordElement.ts +++ b/src/elements/WordElement.ts @@ -102,7 +102,7 @@ export class WordElement extends Element /** * @hidden */ - static readonly defaultRoutes = { + static readonly defaultRoutes = /* #__PURE__ */ { color: 'color', family: 'font.family', style: 'font.style',