verticalAlignment property

ChartAlignment verticalAlignment
final

Aligns the annotation vertically.

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

Defaults to ChartAlignment.center.

Also refer ChartAlignment.

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

Implementation

final ChartAlignment verticalAlignment;