ConfigSeriesBarTargetLine
Inherit
- customColor
- strokeGradient
- targetLineGradient
- dashPattern
- strokeWidthPx
- measureOffset
- domain
- measure
barGroupingType
Type | default |
---|---|
BarGroupingType | BarGroupingType.grouped |
barGroupInnerPaddingPx
Type | default |
---|---|
int | 2 |
barGroupInnerPaddingPx: 10,
weightPattern
Type | default |
---|---|
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.
dashPatternBase
Type | default |
---|---|
List<int>? | null |
overDrawPx
Type | default |
---|---|
int | 0 |
The number of pixels that the line will extend beyond the bandwidth for every bar in a group.
overDrawOuterPx
Type | default |
---|---|
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.
roundEndCaps
Type | default |
---|---|
bool | true |
Whether target lines should have round end caps, or square if false.