radius property
Radius for placing the annotation. The value ranges from 0% to 100% and also if values are mentioned in pixel then the annotation will moved accordingly.
For example, if set 50%
means the annotation starting text will be placed from the 50%
chart area or we set 50
means the annotation starting text will be placed from 50 pixels.
Defaults to 0%
.
Widget build(BuildContext context) {
return Container(
child: SfCircularChart(
annotations: <CircularChartAnnotation>[
CircularChartAnnotation(
radius: '10%'
widget: const Text('Circular'),
),
],
)
);
}
Implementation
final String radius;