LineRendererConfig<D> class

Configuration for a line renderer.

Implemented types

Constructors

LineRendererConfig({String? customRendererId, double radiusPx = 3.5, bool stacked = false, double strokeWidthPx = 2.0, List<int>? dashPattern, bool includeLine = true, bool includePoints = false, bool includeArea = false, int layoutPaintOrder = LayoutViewPaintOrder.line, double areaOpacity = 0.1, bool roundEndCaps = false, SymbolRenderer? symbolRenderer})

Properties

areaOpacity double
Configures the opacity of the area skirt on the chart.
final
customRendererId String?
final
dashPattern List<int>?
Dash pattern for the line.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique identifier for the LayoutView.
getter/setter pairinherited
includeArea bool
Configures whether an area skirt representing the data will be drawn.
final
includeLine bool
Configures whether a line representing the data will be drawn.
final
includePoints bool
Configures whether points representing the data will be drawn.
final
isFullPosition bool
Returns true if it is a full position.
no setterinherited
layoutPaintOrder int
The order to paint this renderer on the canvas.
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
radiusPx double
Radius of points on the line, if includePoints is enabled.
final
rendererAttributes → RendererAttributes
Stores typed renderer attributes
final
roundEndCaps bool
Whether 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 series should be rendered in a stack.
final
strokeWidthPx double
Stroke width of the line.
final
symbolRenderer → SymbolRenderer
final
viewMargin ViewMargin
Defines the space around a layout component.
getter/setter pairinherited

Methods

build() LineRenderer<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.
inherited