GraphPriceLineSpec class

A horizontal line at a price, tagged on the axis: a fixed value, or the last row's field (the last price).

Constructors

GraphPriceLineSpec({double? value, String field = '', String label = '', Color color = const Color(0xFF2962FF), String line = 'dashed', bool tag = true, bool byBand = false, Color? activeColor, String note = ''})
const
GraphPriceLineSpec.fromJson(Json j)
factory

Properties

activeColor → Color?
final
byBand → bool
Drawn band by band across the whole x scale (not only where rows are), the band in use in activeColor.
final
color → Color
final
field → String
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
final
line → String
dashed, dotted or solid.
final
note → String
A second line in the tag, under the value (the time to a bar's close).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → bool
final
value → double?
final

Methods

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

Operators

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