seriesName property Null safety

String? seriesName
final

Property to link indicators to a series based on names.

Defaults to null.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     StochasticIndicator<Sample, num>(
       seriesName: 'Series1'
     ),
   ],
   series: <ChartSeries<Sample, num>>[
     HiloOpenCloseSeries<Sample, num>(
       name: 'Series1'
     )
   ]
 );
}

Implementation

final String? seriesName;