upperLineColor property
Color of the upper line for stochastic Indicator.
Defaults to Colors.red
.
Widget build(BuildContext context) {
return SfCartesianChart(
indicators: <TechnicalIndicators<Sample, num>>[
StochasticIndicator<Sample, num>(
seriesName: 'Series1',
upperLineColor: Colors.greenAccent
),
],
series: <ChartSeries<Sample, num>>[
HiloOpenCloseSeries<Sample, num>(
name: 'Series1'
)
]
);
}
Implementation
final Color upperLineColor;