KLineMarker class
Point annotation anchored to a candle time and price.
- Inheritance
-
- Object
- KLineOverlay
- KLineMarker
Constructors
- KLineMarker({required int time, required double price, KLineMarkerType type = KLineMarkerType.custom, String? label, Color? color, double? radius})
-
Creates a candle marker annotation.
const
Properties
- color → Color?
-
Optional marker fill color override.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String?
-
Optional text shown inside the marker.
final
- price → double
-
Price value mapped to the main chart's price scale.
final
- radius → double?
-
Optional marker radius override.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → int
-
Candle timestamp used to align the marker to a data item.
final
- type → KLineMarkerType
-
Marker category.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override