trackPadding property
Padding of the track.
Defaults to 0
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
selectionGesture: ActivationMode.doubleTap,
series: <BarSeries<SalesData, num>>[
BarSeries<SalesData, num>(
isTrackVisible: true,
trackPadding: 2
),
],
));
}
Implementation
final double trackPadding;