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