displayMode property

SparkChartMarkerDisplayMode displayMode
final

Enables the markers in different modes.

Defaults to SparkChartMarkerMode.none.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     marker: SparkChartMarker(
         size: 20, displayMode: SparkChartMarkerDisplayMode.all),
     data: <double>[18, 24, 30, 14, 28],
   )),
 );
}

Implementation

final SparkChartMarkerDisplayMode displayMode;