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