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