legendItemText property

String? legendItemText
final

Property to provide the text for the technical indicators legend.

Defaults to 'null'.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     StochasticIndicator<Sample, num>(
       legendItemText : 'SMA',
     ),
   ],
 );
}

Implementation

final String? legendItemText;