borderRadius property

double borderRadius
final

Customizes the corners of the interactive tooltip.

Each corner can be customized with a desired value or a single value.

Defaults to Radius.zero.

late TrackballBehavior trackballBehavior;

void initState() {
  trackballBehavior: TrackballBehavior(
    enable: true,
    tooltipSettings: InteractiveTooltip(
      borderColor: Colors.red,
      borderWidth: 3,
      borderRadius: 2
    )
  );
  super.initState();
}

Widget build(BuildContext context) {
  return SfCartesianChart(
    trackballBehavior: trackballBehavior
  );
}

Implementation

final double borderRadius;