shape property
Shape of the marker.
Defaults to DataMarkerType.circle
.
Also refer DataMarkerType.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <SplineSeries<SalesData, num>>[
SplineSeries<SalesData, num>(
markerSettings: MarkerSettings(
isVisible: true,
shape: DataMarkerType.rectangle
),
),
],
);
}
Implementation
final DataMarkerType shape;