title property

AxisTitle title
final

Customizes the appearance of the axis title.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(title: AxisTitle( text: 'Year')),
       ));
}

Implementation

final AxisTitle title;