DChartLineT class

Time Line Chart\

Inheritance

Constructors

DChartLineT({Key? key, required List<TimeGroup> groupList, bool animate = false, ConfigRenderLine configRenderLine = const ConfigRenderLine(), Duration animationDuration = const Duration(milliseconds: 300), DomainAxis? domainAxis, MeasureAxis? measureAxis, MeasureAxis? secondaryMeasureAxis, AreaColorT? areaColor, FillPatternT? fillPattern, FillColorT? fillColor, DashPatternT? dashPattern, String barLabelValue(TimeGroup group, TimeData data, int? index)?, bool? flipVertical = false, LayoutMargin? layoutMargin, bool allowSliding = false, void onUpdatedListener(TimeData data)?, void onChangedListener(TimeData data)?})
Time Line Chart
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 AreaColorT?
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(TimeGroup group, TimeData data, int? index)?
set custom format value for label bar
final
configRenderLine ConfigRenderLine
style bar
final
dashPattern DashPatternT?
set pattern
specify for line pattern
final
domainAxis DomainAxis?
customize domain axis
final
fillColor FillColorT?
set fill chart where has fill box like bar
default: based on Group color
final
fillPattern FillPatternT?
custom fill pattern
default: solid
final
flipVertical bool?
when vertical is true, chart will be flip
sort reversed measure axis/ default: false
final
groupList List<TimeGroup>
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(TimeData data)?
listen which data is changed selected
final
onUpdatedListener → void Function(TimeData 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}) 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