API REFERENCE

weights

Variwide column width metric (the 2nd dimension), one per category.

Definition

ItemValue
JavaScript propertyweights
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeFloat32Array | Array<number | null | undefined>
Defaultundefined

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.