OrdinalBubbles
Name: Ordinal Bubbles
Description: Value indices ([0], [1], [2]...) are mapped to the X-axis in ordinal form, and the size of each data point is represented by bubble size.
params$
Type:
DeepPartial<OrdinalBubblesParams>Fields:
Name Description Type bubbles Bubble settings ObjectitemLabel Display settings for data labelObjectaxisLabel Display settings for axis labelObjectrankingAmount Number of items to display, default is 10. If set to 'auto', all data will be displayed if there is enough space'auto' | numberparams.bubblesName Description Type sizeAdjust Bubble area adjustment factor (recommended between 0.1 and 1) numberarcScaleType Mapping method for bubble area using value. areamaps data to bubble area,radiusmaps data to bubble radius (the latter causes more noticeable area differences but may have visual accuracy issues)'area' | 'radius'valueLinearOpacity Base color opacity gradient (corresponding to minimum to maximum values) [number, number]params.itemLabelName Description Type padding Padding numbercolorType Label color type ColorTypeparams.axisLabelName Description Type offset Axis label position [number, number]colorType Label color type ColorType
Detailed Types
type ColorType = 'none' | 'label' | 'labelContrast' | 'primary' | 'secondary' | 'background'
- Default values:
{
force: {
strength: 0.08,
velocityDecay: 0.3,
collisionSpacing: 2
},
bubbleLabel: {
colorType: 'labelContrast',
fillRate: 0.6,
lineHeight: 1,
maxLineLength: 6,
wordBreakAll: true,
},
arcScaleType: 'area'
}