tooltipPosition property

TooltipPosition tooltipPosition
final

Show tooltip at tapped position

Defaults to TooltipPosition.auto.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          tooltipBehavior: TooltipBehavior(enable: true,
          tooltipPosition: TooltipPosition.pointer),
       ));
}

Implementation

final TooltipPosition tooltipPosition;