isVisible property

bool isVisible
final

Boolean property to change the visibility of the technical indicators.

Defaults to true.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicator<Sample, num>>[
     StochasticIndicator<Sample, num>(
       isVisible: false
     ),
   ],
 );
}

Implementation

final bool isVisible;