onRenderDetailsUpdate property
Callback which gets called while rendering the indicators.
Widget build(BuildContext context) {
return SfCartesianChart(
indicators: <TechnicalIndicators<Sample, num>>[
StochasticIndicator<Sample, num>(
onRenderDetailsUpdate: (IndicatorRenderParams params) {
return TechnicalIndicatorRenderDetails(Colors.cyan, 3.0, <double>[5,5]);
},
),
],
);
}
Implementation
final ChartIndicatorRenderCallback? onRenderDetailsUpdate;