DChartComboO class

Ordinal Combo Chart
also can use for single other type but cannot be set horizontal measure

  • only bar
  • only line
  • only scatter plot
Inheritance

Constructors

DChartComboO({Key? key, required List<OrdinalGroup> groupList, bool animate = false, ConfigRenderLine configRenderLine = const ConfigRenderLine(), ConfigRenderBar configRenderBar = const ConfigRenderBar(), ConfigRenderPoint configRenderPoint = const ConfigRenderPoint(), Duration animationDuration = const Duration(milliseconds: 300), DomainAxis? domainAxis, MeasureAxis? measureAxis, MeasureAxis? secondaryMeasureAxis, AreaColorO? areaColor, FillPatternO? fillPattern, FillColorO? fillColor, DashPatternO? dashPattern, String barLabelValue(OrdinalGroup group, OrdinalData data, int? index)?, LayoutMargin? layoutMargin, bool allowSliding = false, void onUpdatedListener(OrdinalData data)?, void onChangedListener(OrdinalData data)?})
Ordinal Combo Chart
also can use for single other type but cannot be set horizontal measure
const

Properties

allowSliding bool
give user access to slide chart viewport
set initial viewport in domainAxis
if set true, this will affect to 'measure viewport'. measure viewport will auto adjust depend on min/max from item chart value
To fix this, set viewport in measueAxis
default: false
final
animate bool
animate chart when build
default: false
final
animationDuration Duration
duration animate a chart when build
default: Duration(milliseconds: 300)
final
areaColor AreaColorO?
areaColor returns the area color for a given data value.
If not provided, then group color will be used 10% opacity by default.
Specify for Line type
to activate custom areaColor, ConfigRenderLine -> includeArea must be true
final
barLabelValue String Function(OrdinalGroup group, OrdinalData data, int? index)?
set custom format value for label bar
final
configRenderBar ConfigRenderBar
style bar
final
configRenderLine ConfigRenderLine
style line
final
configRenderPoint ConfigRenderPoint
style plot point
final
dashPattern DashPatternO?
set pattern
specify for line pattern
final
domainAxis DomainAxis?
customize domain axis
final
fillColor FillColorO?
set fill chart where has fill box like bar
default: based on Group color
final
fillPattern FillPatternO?
custom fill pattern
default: solid
final
groupList List<OrdinalGroup>
group
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
layoutMargin LayoutMargin?
margin from outer chart to wrapper box
default: 20px for each side
final
measureAxis MeasureAxis?
customize measure axis
final
onChangedListener → void Function(OrdinalData data)?
listen which data is changed selected
final
onUpdatedListener → void Function(OrdinalData data)?
listen which data is selected
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryMeasureAxis MeasureAxis?
customize secondary measure axis
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's 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
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