ChartReferenceLine class final

A horizontal line across a chart's plot at value.

Inheritance

Properties

color → Color
no setter
dashed → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
label → String
no setter
labelBelow → bool
no setter
labelColor → Color?
no setter
props → Props
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → WidgetSpec
The field declarations.
no setteroverride
strokeWidth → double
no setter
value → double
no setter

Methods

get<T>(PropDef<T> def) → T
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Object? json) → ChartReferenceLine?

Constants

codec → const ListCodec<ChartReferenceLine>
colorDef → const PropDef<Color>
dashedDef → const PropDef<bool>
labelBelowDef → const PropDef<bool>
labelColorDef → const PropDef<Color?>
labelDef → const PropDef<String>
Text at the line's right end ("CAPACITY 360"), above it unless labelBelow; in labelColor, else the line's color.
spec → const WidgetSpec
strokeWidthDef → const PropDef<double>
valueDef → const PropDef<double>