isVisibleInLegend property

bool isVisibleInLegend
final

Boolean property to determine the rendering of legends for the technical indicators.

Defaults to true.

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

Implementation

final bool isVisibleInLegend;