chartjs-chart-wordcloud / IWordCloudControllerDatasetOptions
Interface: IWordCloudControllerDatasetOptions
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/controllers/WordCloudController.ts:228
Extends
ControllerDatasetOptions.ScriptableAndArrayOptions<IWordElementOptions,ScriptableContext<"wordCloud">>.ScriptableAndArrayOptions<CommonHoverOptions,ScriptableContext<"wordCloud">>.AnimationOptions<"wordCloud">
Indexable
[key: string]: unknown
Properties
autoGrow
autoGrow:
IAutoGrowOptions
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/controllers/WordCloudController.ts:243
configures the automatic growing of the canvas in case not all words can be fitted onto the screen
Default
{ maxTries: 3, scalingFactor: 1.2}color
color:
ScriptableAndArray<string|CanvasGradient|CanvasPattern,ScriptableContext<"wordCloud">>
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/elements/WordElement.ts:5
Inherited from
ScriptableAndArrayOptions.color
fit
fit:
boolean
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/controllers/WordCloudController.ts:237
whether to fit the word cloud to the map, by scaling to the actual bounds
Default
falsemaxRotation
maxRotation:
ScriptableAndArray<number,ScriptableContext<"wordCloud">>
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/elements/WordElement.ts:35
angle in degree for the max rotation
Default
0Inherited from
IWordElementOptions.maxRotation
minRotation
minRotation:
ScriptableAndArray<number,ScriptableContext<"wordCloud">>
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/elements/WordElement.ts:30
angle in degree for the min rotation
Default
-90Inherited from
IWordElementOptions.minRotation
padding
padding:
ScriptableAndArray<number,ScriptableContext<"wordCloud">>
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/elements/WordElement.ts:40
padding around each word while doing the layout
Default
1Inherited from
randomRotationSeed
randomRotationSeed:
string
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/controllers/WordCloudController.ts:249
specifies the random seed that should be used for randomly rotating words if needed
Default
the current chart idrotate
rotate:
ScriptableAndArray<number,ScriptableContext<"wordCloud">>
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/elements/WordElement.ts:20
rotation of the word
Default
undefined then it will be randomly derived given the other constraintsInherited from
rotationSteps
rotationSteps:
ScriptableAndArray<number,ScriptableContext<"wordCloud">>
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/elements/WordElement.ts:25
number of rotation steps between min and max rotation
Default
2Inherited from
IWordElementOptions.rotationSteps
strokeStyle
strokeStyle:
ScriptableAndArray<string|CanvasGradient|CanvasPattern,ScriptableContext<"wordCloud">>
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/elements/WordElement.ts:10
CanvasContext2D.strokeStyle config for rendering a stroke around the text
Default
undefinedInherited from
ScriptableAndArrayOptions.strokeStyle
strokeWidth?
optionalstrokeWidth:ScriptableAndArray<undefined|number,ScriptableContext<"wordCloud">>
Defined in: work/chartjs-chart-wordcloud/chartjs-chart-wordcloud/src/elements/WordElement.ts:15
CanvasContext2D.lineWith for stroke
Default
undefinedInherited from
ScriptableAndArrayOptions.strokeWidth