ArcRendererConfig<D> class
Configuration for an ArcRenderer.
- Implemented types
Constructors
-
ArcRendererConfig({String? customRendererId, double arcLength = 2 * pi, List<
ArcRendererDecorator< arcRendererDecorators = const [], double? arcRatio, int? arcWidth, int layoutPaintOrder = LayoutViewPaintOrder.arc, int minHoleWidthForCenterContent = 30, double startAngle = -pi / 2, double strokeWidthPx = 2.0})D> >
Properties
- arcLength → double
-
Total arc length, in radians.
finalinherited
- arcRatio → double?
-
If set, configures the arcWidth to be a percentage of the radius.
finalinherited
-
arcRendererDecorators
→ List<
ArcRendererDecorator< D> > -
List of decorators applied to rendered arcs.
finalinherited
- arcWidth → int?
-
Fixed width of the arc within the radius.
finalinherited
- customRendererId → String?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- minHoleWidthForCenterContent → int
-
Minimum radius in pixels of the hole in a donut chart for center content
to appear.
finalinherited
- noDataColor → Color
-
Color of the "no data" state for the chart, used when an empty series is
drawn.
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
- startAngle → double
-
Start angle for pie slices, in radians.
finalinherited
- stroke → Color
-
Stroke color of the border of the arcs.
finalinherited
- strokeWidthPx → double
-
Stroke width of the border of the arcs.
finalinherited
- symbolRenderer → SymbolRenderer
-
finalinherited
- viewMargin ↔ ViewMargin
-
Defines the space around a layout component.
getter/setter pairinherited
Methods
-
build(
) → ArcRenderer< 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