opacity property
Opacity of the trendline.
Defaults to 1
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <CartesianSeries<ChartData,String>>[
LineSeries<ChartData,String>(
trendlines: <Trendline>[
Trendline(opacity: 0.85)
]
)
]
);
}
Implementation
final double opacity;