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