GraphBandSpec class

A stretch of the x scale with a name: a trading session. A line mark can break at its edges and dim outside the one in use, and a price line can be drawn band by band.

Constructors

GraphBandSpec({required String id, required double from, required double to, String? group})
const
GraphBandSpec.fromJson(Json j)
factory

Properties

from → double
The first and last positions of the band.
final
group → String
Bands a price line treats as one (overnight and pre-market).
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to → double
The first and last positions of the band.
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