legendItemText property
Property to provide the text for the technical indicators legend.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
indicators: <TechnicalIndicators<dynamic, dynamic>>[
SmaIndicator<dynamic, dynamic>(
legendItemText : 'SMA',
),
],
));
}
Implementation
final String? legendItemText;