onRenderDetailsUpdate property

ChartIndicatorRenderCallback? onRenderDetailsUpdate
final

Callback which gets called while rendering the indicators.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicator<Sample, num>>[
     StochasticIndicator<Sample, num>(
       onRenderDetailsUpdate: (IndicatorRenderParams params) {
  return TechnicalIndicatorRenderDetails(Colors.cyan, 3.0, <double>[5,5]);
       },
     ),
   ],
 );
}

Implementation

final ChartIndicatorRenderCallback? onRenderDetailsUpdate;