BarLaneRendererConfig class
Configuration for a bar lane renderer.
- Inheritance
-
- Object
- BarRendererConfig<
String> - BarLaneRendererConfig
- Implemented types
Constructors
-
BarLaneRendererConfig({String? customRendererId, CornerStrategy? cornerStrategy, String emptyLaneLabel = 'No data', FillPatternType? fillPattern, BarGroupingType? groupingType, int layoutPaintOrder = LayoutViewPaintOrder.bar, bool mergeEmptyLanes = false, int minBarLengthPx = 0, bool renderNegativeLanes = false, int stackedBarPaddingPx = 1, double strokeWidthPx = 0.0, BarRendererDecorator<
String> ? barRendererDecorator, SymbolRenderer? symbolRenderer, Color? backgroundBarColor, List<int> ? weightPattern})
Properties
- backgroundBarColor → Color
-
The color of background bars.
final
- barGroupInnerPaddingPx → int
-
Spacing between the bars in a group.
finalinherited
-
barRendererDecorator
→ BarRendererDecorator<
String> ? -
Decorator for optionally decorating painted bars.
finalinherited
- cornerStrategy → CornerStrategy
-
Strategy for determining the corner radius of a bar.
finalinherited
- customRendererId → String?
-
finalinherited
-
dashPattern
→ List<
int> ? -
Dash pattern for the stroke line around the edges of the bar.
finalinherited
- emptyLaneLabel → String
-
Label text to draw on a merged empty lane.
final
- 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
- mergeEmptyLanes → bool
-
Whether or not all lanes for a given domain value should be merged into
one wide lane if all measure values for said domain are null.
final
- 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
- renderNegativeLanes → bool
-
Whether or not to render negative bar lanes on bars with negative values
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(
) → BarLaneRenderer< String> -
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