BarTargetLineRendererConfig<D> class

Configuration for a bar target line renderer.

Implemented types

Constructors

BarTargetLineRendererConfig({int barGroupInnerPaddingPx = 2, String? customRendererId, List<int>? dashPattern, BarGroupingType groupingType = BarGroupingType.grouped, int layoutPaintOrder = LayoutViewPaintOrder.barTargetLine, int minBarLengthPx = 0, int? overDrawOuterPx, int overDrawPx = 0, bool roundEndCaps = true, double strokeWidthPx = 3.0, SymbolRenderer? symbolRenderer, List<int>? weightPattern})

Properties

barGroupInnerPaddingPx int
Spacing between the bars in a group.
finalinherited
customRendererId String?
finalinherited
dashPattern List<int>?
Dash pattern for the stroke line around the edges of the bar.
finalinherited
fillPattern FillPatternType?
finalinherited
grouped bool
Whether or not the bars should be organized into groups.
no setterinherited
groupingType BarGroupingType
Defines the way multiple series of bars are rendered per domain.
finalinherited
hashCode int
The hash code for this object.
no setter
id String?
Unique identifier for the LayoutView.
getter/setter pairinherited
isFullPosition bool
Returns true if it is a full position.
no setterinherited
layoutPaintOrder int?
The order to paint this renderer on the canvas.
finalinherited
maxBarWidthPx int?
finalinherited
minBarLengthPx int
finalinherited
overDrawOuterPx int?
The number of pixels that the line will extend beyond the bandwidth at the edges of the bar group.
final
overDrawPx int
The number of pixels that the line will extend beyond the bandwidth for every bar in a group.
final
paintOrder int?
The order to paint a LayoutView on the canvas.
getter/setter pairinherited
position LayoutPosition?
The position of a LayoutView defining where to place the view.
getter/setter pairinherited
positionOrder int?
The order to place the LayoutView within a chart margin.
getter/setter pairinherited
rendererAttributes → RendererAttributes
Stores typed renderer attributes
finalinherited
roundEndCaps bool
Whether target lines should have round end caps, or square if false.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stacked bool
Whether or not the bars should be organized into stacks.
no setterinherited
stackedBarPaddingPx int
The padding between bar stacks.
finalinherited
strokeWidthPx double
Stroke width of the target line.
finalinherited
symbolRenderer → SymbolRenderer
finalinherited
viewMargin ViewMargin
Defines the space around a layout component.
getter/setter pairinherited
weightPattern List<int>?
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.
finalinherited

Methods

build() BarTargetLineRenderer<D>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.