borderWidth property
Border width of the tooltip.
Defaults to 0
.
late TooltipBehavior tooltipBehavior;
void initState() {
tooltipBehavior = TooltipBehavior(
enable: true,
borderColor: Colors.red,
borderWidth: 3
);
super.initState();
}
Widget build(BuildContext context) {
return SfCartesianChart(
tooltipBehavior: tooltipBehavior
);
}
Implementation
final double borderWidth;