IndicatorTemplate<T, K> class
abstract
- Implementers
Constructors
-
IndicatorTemplate({required String name, required String shortName, required List<
int> calcParams, required K indicatorStyle})
Properties
-
calcParams
→ List<
int> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicatorStyle → K
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortName → String
-
final
Methods
-
calc(
List< KLineEntity> dataList) → void -
drawChart(
T lastPoint, T curPoint, double lastX, double curX, GetYFunction getY, Canvas canvas, KChartColors chartColors) → void -
drawFigure(
T value, int precision, KChartColors chartColors) → TextSpan? -
formatNumber(
double value, int precision) → String -
getMaxMinValue(
KLineEntity entity, double minV, double maxV) → (double, double) - record.$1 : min value record.$2: max value
-
getTextStyle(
Color? color) → TextStyle - text format
-
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.
inherited