BarChart class
Constructors
-
BarChart(List<Series<dynamic, String>> seriesList, {bool? animate, Duration? animationDuration, AxisSpec? domainAxis, NumericAxisSpec? primaryMeasureAxis, NumericAxisSpec? secondaryMeasureAxis, LinkedHashMap<String, NumericAxisSpec>? disjointMeasureAxes, BarGroupingType? barGroupingType, BarRendererConfig<String>? defaultRenderer, List<SeriesRendererConfig<String>>? customSeriesRenderers, List<ChartBehavior<String>>? behaviors, List<SelectionModelConfig<String>>? selectionModels, RTLSpec? rtlSpec, bool vertical = true, bool defaultInteractions = true, LayoutConfig? layoutConfig, UserManagedState<String>? userManagedState, BarRendererDecorator<String>? barRendererDecorator, bool? flipVerticalAxis})
-
Methods
-
addDefaultInteractions(List<ChartBehavior> behaviors)
→ void
-
Create the list of default interaction behaviors.
override
-
createCommonChart(BaseChartState chartState)
→ BarChart
-
Creates and returns a
common.BaseChart
.
override
-
createDisjointMeasureAxes()
→ LinkedHashMap<String, NumericAxis>?
-
inherited
-
createElement()
→ StatefulElement
-
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState()
→ BaseChartState<String>
-
Creates the mutable state for this widget at a given location in the tree.
inherited
-
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
-
getDesiredGestures(BaseChartState chartState)
→ Set<GestureType>
-
Gets distinct set of gestures this chart will subscribe to.
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
-
updateCommonChart(BaseChart<String> baseChart, BaseChart<String>? oldWidget, BaseChartState<String> chartState)
→ void
-
Updates the
common.BaseChart
.
inherited