MultiDots
Name: Multi Dots Chart
Description: The usage is the same as
Dotsin 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 withMultiLinesand another plugin to draw a chart with two sets of Grid data (for example, usingMultiLinesto present the second set - the data at index [1] of thedata$array).
params$
Type:
Partial<MultiDotsParams>Fields:
Name Description Type radius Radius numberfillColorType Fill color type ColorTypestrokeColorType Stroke color type ColorTypestrokeWidth Stroke width numberonlyShowHighlighted Only show when highlighted booleangridIndexes 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]
}