MultiDots
Name: Multi Dots Chart
Description: The usage is the same as
Dots
in the Grid data type, the difference is that it corresponds to one of the Grid data in the MultiGrid data type. By default, it corresponds to the second set of Grid data indata$
(i.e., the data at index [0] of thedata$
array). It is usually used withMultiLines
and another plugin to draw a chart with two sets of Grid data (for example, usingMultiLines
to present the second set - the data at index [1] of thedata$
array).
params$
Type:
Partial<MultiDotsParams>
Fields:
Name Description Type radius Radius number
fillColorType Fill color type ColorType
strokeColorType Stroke color type ColorType
strokeWidth Stroke width number
onlyShowHighlighted Only show when highlighted boolean
gridIndexes Corresponding data$
Grid data indexes, can correspond to one or more Grid datanumber[] | 'all'
Detailed Type
type ColorType = 'none' | 'label' | 'labelContrast' | 'primary' | 'secondary' | 'background'
- Default values:
{
radius: 4,
fillColorType: 'background',
strokeColorType: 'label',
strokeWidth: 2,
onlyShowHighlighted: false,
gridIndexes: [1]
}