KLineIndicatorSeries<T> class

一条指标线的数据定义。

Annotations

Constructors

KLineIndicatorSeries({required String id, required String label, required int colorIndex, KLineIndicatorValueGetter<T>? value})
const

Properties

colorIndex → int
使用 KLineTheme.indicatorColorAt 取色的颜色索引。
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
指标值 id,例如 ma5、cci14。
final
label → String
指标标签名,例如 MA5、DIF。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → KLineIndicatorValueGetter<T>?
自定义取值;为空时走 KLineDataAdapter.indicatorValue。
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
valueOf(T item, KLineDataAdapter<T> adapter) → double?

Operators

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