highPointColor property
Customizes the color of the highest rectangular column segment.
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: SfSparkBarChart(
highPointColor: Colors.red
)
),
);
}
Implementation
final Color? highPointColor;