isTrackVisible property

bool isTrackVisible
final

Renders the bar in histogram series with track.

Track is a rectangular bar rendered from the start to the end of the axis. Bars in the histogram will be rendered above the track.

Defaults to false.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <HistogramSeries<SalesData, num>>[
      HistogramSeries<SalesData, num>(
        isTrackVisible: true,
      ),
    ],
   );
}

Implementation

final bool isTrackVisible;