dashArray property
Pattern of dashes and gaps used to stroke the trendline.
Defaults to null
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <CartesianSeries<ChartData,String>>[
LineSeries<ChartData,String>(
trendlines: <TrendLine>[
Trendline(dashArray: <double>[2,3])
]
)
]
);
}
Implementation
final List<double>? dashArray;