Skip to main content
Version: 3.0.0

ConfigSeriesBarTargetLine

Inherit

barGroupingType

Typedefault
BarGroupingTypeBarGroupingType.grouped

barGroupInnerPaddingPx

Typedefault
int2
barGroupInnerPaddingPx: 10,

alt alt

weightPattern

Typedefault
List<int>?null

Sets the series weight pattern. This is a pattern of weights used to calculate the width of bars within a bar group. If not specified, each bar in the group will have an equal width.

The pattern will not repeat. If more series are assigned to the renderer than there are segments in the weight pattern, an error will be thrown.

e.g. For the pattern [2, 1], the first bar in a group should be rendered twice as wide as the second bar.

If the expected bar width of the chart is 12px, then the first bar will render at 16px and the second will render at 8px. The default weight pattern of null means that all bars should be the same width, or 12px in this case.

Not used for stacked bars.

alt alt

dashPatternBase

Typedefault
List<int>?null

alt

overDrawPx

Typedefault
int0

The number of pixels that the line will extend beyond the bandwidth for every bar in a group.

alt alt alt

overDrawOuterPx

Typedefault
int?null

The number of pixels that the line will extend beyond the bandwidth at the edges of the bar group.

If set, this overrides overDrawPx for the beginning side of the first bar target line in the group, and the ending side of the last bar target line. overDrawPx will be used for overdrawing the target lines for interior sides of the bars.

alt alt alt

roundEndCaps

Typedefault
booltrue

Whether target lines should have round end caps, or square if false.

alt alt