verticalAlignment property

ChartAlignment verticalAlignment
final

Aligns the annotations vertically.

Alignment can be set to near, far, or center.

Defaults to ChartAlignment.center

Also refer ChartAlignment

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           annotations: <CartesianChartAnnotation>[
               CartesianChartAnnotation(
                   child: Container(
                   child: const Text('Empty data')),
                   coordinateUnit: CoordinateUnit.point,
                   region: AnnotationRegion.chartArea,
                   x: 3.5,
                   y: 60,
                   verticalAllignment: VerticalAlignment.bottom,
              ),
            ],
       ));
}

Implementation

final ChartAlignment verticalAlignment;