width property
Width of trendlines.
Defaults to 2
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <CartesianSeries<ChartData,String>>[
LineSeries<ChartData,String>(
trendlines: <Trendline>[
Trendline(width: 4)
]
)
]
);
}
Implementation
final double width;