BezierChart class

Inheritance

Constructors

BezierChart({Key? key, BezierChartConfig? config, List<double>? xAxisCustomValues, FooterValueBuilder? footerValueBuilder, FooterValueBuilder? bubbleLabelValueBuilder, FooterDateTimeBuilder? footerDateTimeBuilder, FooterDateTimeBuilder? bubbleLabelDateTimeBuilder, DateTime? fromDate, DateTime? toDate, DateTime? selectedDate, ValueChanged<bool>? onIndicatorVisible, ValueChanged<DateTime?>? onDateTimeSelected, ValueChanged<double?>? onValueSelected, double? selectedValue, BezierChartAggregation bezierChartAggregation = BezierChartAggregation.sum, required BezierChartScale bezierChartScale, required List<BezierLine> series, ValueChanged<BezierChartScale?>? onScaleChanged})

Properties

bezierChartAggregation BezierChartAggregation
Aggregation of Chart
final
bezierChartScale BezierChartScale
Type of Chart
final
bubbleLabelDateTimeBuilder FooterDateTimeBuilder?
Optional This callback only works if the BezierChartScale is Date type otherwise it will be ignored This is used to display a custom bubble label value based on the current 'x' value
final
bubbleLabelValueBuilder FooterValueBuilder?
Optional This callback only works if the BezierChartScale is BezierChartScale.custom otherwise it will be ignored This is used to display a custom bubble label value based on the current 'x' value
final
config BezierChartConfig?
Chart configuration
final
footerDateTimeBuilder FooterDateTimeBuilder?
Optional This callback only works if the BezierChartScale is Date type otherwise it will be ignored This is used to display a custom footer value based on the current 'x' value
final
footerValueBuilder FooterValueBuilder?
Optional This callback only works if the BezierChartScale is BezierChartScale.custom otherwise it will be ignored This is used to display a custom footer value based on the current 'x' value
final
fromDate DateTime?
This value is required only if the BezierChartScale is not BezierChartScale.custom
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onDateTimeSelected ValueChanged<DateTime?>?
Optional This callback will display the current DateTime selected by the indicator Only works when the BezierChartScale is date type
final
onIndicatorVisible ValueChanged<bool>?
Optional This callback notify when the display indicator is visible or not
final
onScaleChanged ValueChanged<BezierChartScale?>?
Notify if the BezierChartScale changed, it only works with date scales.
final
onValueSelected ValueChanged<double?>?
Optional This callback will display the current double value selected by the indicator Only works when the BezierChartScale is not BezierChartScale.custom
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDate DateTime?
This value represents the date selected to display the info in the Chart For BezierChartScale.hourly it will use year, month, day and hour For BezierChartScale.weekly it will use year, month and day For BezierChartScale.monthly it will use year, month For BezierChartScale.yearly it will use year
final
selectedValue double?
This value represents the value selected to display the info in the Chart It's only for BezierChartScale.custom
final
series List<BezierLine>
Beziers used in the Axis Y
final
toDate DateTime?
This value is required only if the BezierChartScale is not BezierChartScale.custom
final
xAxisCustomValues List<double>?
This value is required only if the BezierChartScale is BezierChartScale.custom and these values must be sorted in increasing way (These will be showed in the Axis X).
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() BezierChartState
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}) 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