text property

String? text
final

Text to be displayed as axis title.

Defaults to ‘’.

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

Implementation

final String? text;