legendItemText property
Property to provide the text for the technical indicators legend.
Defaults to 'null'.
Widget build(BuildContext context) {
return SfCartesianChart(
indicators: <TechnicalIndicator<Sample, num>>[
StochasticIndicator<Sample, num>(
legendItemText : 'SMA',
),
],
);
}
Implementation
final String? legendItemText;