textAlignment property
Alignment of the text in the tooltip
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
tooltipBehavior: TooltipBehavior(enable: true,textAlignment : ChartAlignment.near),
));
}
Implementation
final ChartAlignment textAlignment;