MultiBars
Name: Multi Bars Chart
Description: The usage is the same as
Barsin 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 first set of Grid data indata$(i.e., the data at index [0] of thedata$array). It is usually used with 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<MultiBarsParams>Fields:
Name Description Type barWidth Width of each Bar numberbarPadding Padding between Bars numberbarGroupPadding Combined width of all Bars in a group numberbarRadius Bar corner radius booleangridIndexes Corresponding data$Grid data indexes, can correspond to one or more Grid datanumber[] | 'all'Default values:
{
barWidth: 0,
barPadding: 1,
barGroupPadding: 40,
barRadius: false,
gridIndexes: [0]
}