InteractiveChart class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- InteractiveChart
Constructors
-
InteractiveChart({Key? key, required List<
CandleData> candles, int initialVisibleCandleCount = 90, ChartStyle? style, TimeLabelGetter? timeLabel, PriceLabelGetter? priceLabel, OverlayInfoGetter? overlayInfo, ValueChanged<CandleData> ? onTap, ValueChanged<double> ? onCandleResize}) -
const
Properties
-
candles
→ List<
CandleData> -
The full list of
CandleData
to be used for this chart.final - hashCode → int
-
The hash code for this object.
no setterinherited
- initialVisibleCandleCount → int
-
The default number of data points to be displayed when the chart is first
opened. The default value is 90. If CandleData does not have enough data
points, the chart will display all of them.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onCandleResize
→ ValueChanged<
double> ? -
An optional event, fired when user zooms in/out.
final
-
onTap
→ ValueChanged<
CandleData> ? -
An optional event, fired when the user clicks on a candlestick.
final
- overlayInfo → OverlayInfoGetter?
-
How the overlay info are displayed, when user touches the chart.
final
- priceLabel → PriceLabelGetter?
-
How the price labels on the right are displayed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → ChartStyle
-
If non-null, the style to use for this chart.
final
- timeLabel → TimeLabelGetter?
-
How the date/time label at the bottom are displayed.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _InteractiveChartState -
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