axisValue property

double? axisValue
final

Specifies the axis value for positioning annotation.

The direction of placing annotation is determined by the axisValue, if the angle is not specified. The distance is calculated by positionFactor. The annotation is positioned on the basis of the calculated direction and distance.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis
           annotations: <GaugeAnnotation>[
           GaugeAnnotation(widget: Text('Annotation'), axisValue: 20)])]
       ));
}

Implementation

final double? axisValue;