isVisible property
Boolean property to change the visibility of the technical indicators.
Defaults to true
.
Widget build(BuildContext context) {
return SfCartesianChart(
indicators: <TechnicalIndicators<Sample, num>>[
StochasticIndicator<Sample, num>(
isVisible: false
),
],
);
}
Implementation
final bool isVisible;