shape property

SparkChartMarkerShape shape
final

Customizes the marker shape. The SparkChartMarkerShape has pre-defined sets of marker shape.

Also refer SparkChartMarkerShape.

Defaults to SparkChartMarkerShape.circle.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     marker: SparkChartMarker(
         shape: SparkChartMarkerShape.square)
        )
     ),
  );
}

Implementation

final SparkChartMarkerShape shape;