KLinePriceLine class
Horizontal line annotation at a fixed price.
- Inheritance
-
- Object
- KLineOverlay
- KLinePriceLine
Constructors
- KLinePriceLine({required double price, String? label, Color? color, double? strokeWidth})
-
Creates a horizontal price line annotation.
const
Properties
- color → Color?
-
Optional line and label color override.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String?
-
Optional text shown near the right side of the line.
final
- price → double
-
Price value mapped to the main chart's price scale.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeWidth → double?
-
Optional stroke width override.
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