TimeSeriesChart class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BaseChart<
DateTime> - TimeSeriesChart
Constructors
-
TimeSeriesChart(List<
Series< seriesList, {bool? animate, Duration? animationDuration, AxisSpec? domainAxis, NumericAxisSpec? primaryMeasureAxis, NumericAxisSpec? secondaryMeasureAxis, LinkedHashMap<dynamic, DateTime> >String, NumericAxisSpec> ? disjointMeasureAxes, SeriesRendererConfig<DateTime> ? defaultRenderer, List<SeriesRendererConfig< ? customSeriesRenderers, List<DateTime> >ChartBehavior< ? behaviors, List<DateTime> >SelectionModelConfig< ? selectionModels, LayoutConfig? layoutConfig, DateTimeFactory? dateTimeFactory, bool defaultInteractions = true, bool? flipVerticalAxis, UserManagedState<DateTime> >DateTime> ? userManagedState}) - Create a TimeSeriesChart.
Properties
- animate → bool
-
Animation transitions.
finalinherited
- animationDuration → Duration
-
finalinherited
-
behaviors
→ List<
ChartBehavior< ?DateTime> > -
finalinherited
-
customSeriesRenderers
→ List<
SeriesRendererConfig< ?DateTime> > -
finalinherited
- dateTimeFactory → DateTimeFactory?
-
final
- defaultInteractions → bool
-
Include the default interactions or not.
finalinherited
-
defaultRenderer
→ SeriesRendererConfig<
DateTime> ? -
finalinherited
-
disjointMeasureAxes
→ LinkedHashMap<
String, NumericAxisSpec> ? -
finalinherited
- domainAxis → AxisSpec?
-
finalinherited
- flipVerticalAxis → bool?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- layoutConfig → LayoutConfig?
-
Used to configure the margin sizes around the drawArea that the axis and
other things render into.
finalinherited
- primaryMeasureAxis → NumericAxisSpec?
-
finalinherited
- rtlSpec → RTLSpec?
-
The spec to use if RTL is enabled.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryMeasureAxis → NumericAxisSpec?
-
finalinherited
-
selectionModels
→ List<
SelectionModelConfig< ?DateTime> > -
finalinherited
-
seriesList
→ List<
Series< dynamic, DateTime> > -
Series list to draw.
finalinherited
-
userManagedState
→ UserManagedState<
DateTime> ? -
Optional state that overrides internally kept state, such as selection.
finalinherited
Methods
-
addDefaultInteractions(
List< ChartBehavior> behaviors) → void -
Create the list of default interaction behaviors.
override
-
createCommonChart(
BaseChartState chartState) → TimeSeriesChart -
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< DateTime> -
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}) → 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< DateTime> baseChart, BaseChart<DateTime> ? oldWidget, BaseChartState<DateTime> chartState) → void -
Updates the
common.BaseChart
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited