BarRendererConfig<D> class

Configuration for a bar renderer.

Inheritance
Implementers

Constructors

BarRendererConfig({String? customRendererId, CornerStrategy? cornerStrategy, FillPatternType? fillPattern, BarGroupingType? groupingType, int layoutPaintOrder = LayoutViewPaintOrder.bar, int minBarLengthPx = 0, int? maxBarWidthPx, int stackedBarPaddingPx = 1, double strokeWidthPx = 0.0, BarRendererDecorator<D>? barRendererDecorator, SymbolRenderer? symbolRenderer, List<int>? weightPattern})

Properties

barRendererDecorator BarRendererDecorator<D>?
Decorator for optionally decorating painted bars.
final
cornerStrategy CornerStrategy
Strategy for determining the corner radius of a bar.
final
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 setteroverride
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
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
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() BarRenderer<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.
override