isTrackVisible property Null safety

bool isTrackVisible
final

Renders column with track.

Track is a rectangular bar rendered from the start to the end of the axis. Column series will be rendered above the track.

Defaults to false

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           selectionGesture: ActivationMode.doubleTap,
           series: <ColumnSeries<SalesData, num>>[
               ColumnSeries<SalesData, num>(
                 isTrackVisible: true,
               ),
             ],
       ));
}

Implementation

final bool isTrackVisible;