lastPointColor property
Customizes the color of the last rectangular column segment.
If the last data point is either the high data point or low data point, then the priority will be given to lastPointColor property.
Defaults to null
.
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfSparkBarChart(
lastPointColor: Colors.red
)
),
);
}
Implementation
final Color? lastPointColor;