markerSettings property Null safety

MarkerSettings markerSettings
final

Indication of data points.

Marks 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 SfCartesianChart(
    series: <LineSeries<LineData, num>>[
      LineSeries<LineData, num>(
        markerSettings: MarkerSettings(isVisible: true)
      ),
    ],
  );
}

Implementation

final MarkerSettings markerSettings;