trackColor property
Color of the track.
Defaults to grey
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
selectionGesture: ActivationMode.doubleTap,
series: <StackedColumnSeries<SalesData, num>>[
StackedColumnSeries<SalesData, num>(
isTrackVisible: true,
trackColor: Colors.red
),
],
));
}
Implementation
final Color trackColor;