seriesName property
Property to link indicators to a series based on names.
Defaults to null
.
Widget build(BuildContext context) {
return SfCartesianChart(
indicators: <TechnicalIndicator<Sample, num>>[
StochasticIndicator<Sample, num>(
seriesName: 'Series1'
),
],
series: <CartesianSeries<Sample, num>>[
HiloOpenCloseSeries<Sample, num>(
name: 'Series1'
)
]
);
}
Implementation
final String? seriesName;