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