horizontalAlignment property

ChartAlignment horizontalAlignment
final

Aligns the annotation horizontally.

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(
                   horizontalAlignment: ChartAlignment.near
                   widget: const Text('Circular'),
                ),
             ),
          ],
       )
   );
}

Implementation

final ChartAlignment horizontalAlignment;