valueField property

String valueField
final

ValueField value for tma indicator.

Value field determines the field for rendering the indicators.

Defaults to close.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     TmaIndicator<Sample, num>(
       seriesName: 'Series1'
       period: 4,
       valueField: 'low'
     ),
   ],
   series: <ChartSeries<Sample, num>>[
     HiloOpenCloseSeries<Sample, num>(
       name: 'Series1'
     )
   ]
 );
}

Implementation

final String valueField;