labelRotation property

int labelRotation
final

Angle for axis labels. The axis labels can be rotated to any angle.

Defaults to 0.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(labelRotation: 90),
       )
   );
}

Implementation

final int labelRotation;