borderWidth property
Customizes the border width of the marker.
Defaults to 2
.
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfSparkAreaChart(
borderWidth: 2,
marker: SparkChartMarker(
borderWidth: 3,
borderColor: Colors.red,
displayMode: SparkChartMarkerDisplayMode.all),
data: <double>[18, 24, 30, 14, 28],
)),
);
}
Implementation
final double borderWidth;