valueField property

String valueField
final

ValueField property for ema indicator.

Based on the valueField property, the moving average is calculated and the indicator is rendered.

Defaults to close.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           EmaIndicator<dynamic, dynamic>(
               valueField : 'high',
             ),
       ));
}

Implementation

final String valueField;