markerSettings property
Indication of data points.
Mark the data point location with symbols for better indication. The shape, color, border, and size of the marker can be customized.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <LineSeries<ChartData, num>>[
LineSeries<ChartData, num>(
markerSettings: MarkerSettings(isVisible: true),
),
],
));
}
Implementation
final MarkerSettings markerSettings;