valueField property
ValueField value for tma indicator.
Value field determines the field for rendering the indicators.
Defaults to close
.
Widget build(BuildContext context) {
return SfCartesianChart(
indicators: <TechnicalIndicator<Sample, num>>[
TmaIndicator<Sample, num>(
seriesName: 'Series1'
period: 4,
valueField: 'low'
),
],
series: <CartesianSeries<Sample, num>>[
HiloOpenCloseSeries<Sample, num>(
name: 'Series1'
)
]
);
}
Implementation
final String valueField;