RadialStackedBarChart<D, T> class
Shows several series of data in the form of arcs with a single center.
Domains of series are placed on different distances from the center of the diagram, from smaller to bigger.
All series must contain data of the same type. It is not necessary for each series to contain the same set of domains, if there is no value for some of domains in some series, the series may not contain the value of this domain.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- RadialStackedBarChart
Constructors
-
RadialStackedBarChart({Key? key, required List<
Series< data, RadialScale? scale, double angle = 0.0, Color? backgroundColor, EdgeInsets padding = const EdgeInsets.all(24), Clip clipBehavior = Clip.hardEdge, double holeSize = 0.0, double arcSpacing = 0.0, bool roundStart = false, bool roundEnd = false, Duration animationDuration = Duration.zero, Curve animationCurve = Curves.easeOut})D, T> > -
const
Properties
- angle → double
-
The start angle of arcs.
final
- animationCurve → Curve
-
The curve of the change animation.
final
- animationDuration → Duration
-
The duration of the change animation.
final
- arcSpacing → double
-
The spacing between arcs in a group.
final
- backgroundColor → Color?
-
The color of the background circle under the arcs.
final
- clipBehavior → Clip
-
The content will be clipped (or not) according to this option.
final
-
data
→ List<
Series< D, T> > -
The list of series to be shown.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- holeSize → double
-
The size of the hole inside the circle in pixels.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- padding → EdgeInsets
-
Offsets of the circle from the edges.
final
- roundEnd → bool
-
Should the end edges of the arcs be rounded off.
final
- roundStart → bool
-
Should the start edges of the arcs be rounded off.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → RadialScale?
-
The optional scale of the diagram.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< RadialStackedBarChart< D, T> > -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited