highValueMapper property

ChartIndexedValueMapper<num>? highValueMapper
final

Value mapper to map the high values with technical indicators.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           SmaIndicator<dynamic, dynamic>(
                highValueMapper: (Sample sales, _) => sales.high,
             ),
          ],
       ));
}

Implementation

final ChartIndexedValueMapper<num>? highValueMapper;