isTrackVisible property

bool isTrackVisible
final

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 Container(
       child: SfCartesianChart(
           selectionGesture: ActivationMode.doubleTap,
           series: <BarSeries<SalesData, num>>[
               BarSeries<SalesData, num>(
                 isTrackVisible: true
               ),
             ],
       ));
}

Implementation

final bool isTrackVisible;