isTrackVisible property
Renders bars with track.
Track is a rectangular bar rendered from the start to the end of the axis.
Bar series will be rendered above the track.
Defaults to false
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <BarSeries<SalesData, num>>[
BarSeries<SalesData, num>(
isTrackVisible: true
),
],
);
}
Implementation
final bool isTrackVisible;