markerSettings property

MarkerSettings markerSettings
final

Settings to configure the Marker of trendline.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <CartseianSeries<dynamic,dynamic>>[
             LineSeries<dynamic,String>(
               trendlines: <TrendLine>[
                 Trendline(
                   markerSettings: MarkerSettings(color: Colors.red)
                 )
               ])
           ]
       ));
}

Implementation

final MarkerSettings markerSettings;