highPointColor property
Customizes the marker color of the highest data point.
When the high data point is the first or last data point of the provided data set, then either the first or last point color gets applied.
Defaults to null
.
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfSparkLineChart(
highPointColor: Colors.red,
marker: SparkChartMarker(displayMode: SparkChartMarkerDisplayMode.all),
)
),
);
}
Implementation
final Color? highPointColor;