MultiBarsTriangle
Name: Multi Triangle Bars Chart
Description: The usage is the same as
BarsTriangle
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 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, usingMultiLines
to present the second set - the data at index [1] of thedata$
array).
params$
Type:
Partial<MultiBarsTriangleParams>
Fields:
Name Description Type barWidth Width of each Bar number
barPadding Padding between Bars number
barGroupPadding Combined width of all Bars in a group number
linearGradientOpacity Linear gradient opacity boolean
gridIndexes Corresponding data$
Grid data indexes, can correspond to one or more Grid datanumber[] | 'all'
Default values:
{
barWidth: 0,
barPadding: 1,
barGroupPadding: 20,
linearGradientOpacity: [1, 0],
gridIndexes: [0]
}