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(
         displayMode: SparkChartMarkerDisplayMode.all)
        )
      ),
   );
}

Implementation

final SparkChartMarkerDisplayMode displayMode;