horizontalAlignment property

ChartAlignment horizontalAlignment
final

Aligns the annotation horizontally.

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

Defaults to ChartAlignment.center

Also refer ChartAlignment

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           annotations: <CircularChartAnnotation>[
               CircularChartAnnotation(
                   horizontalAlignment: ChartAlignment.near
                   child: Container(
                   child: const Text('Empty data'),
                ),
             ),
            ],
       ));
}

Implementation

final ChartAlignment horizontalAlignment;