fontSize property

  1. @override
double fontSize
final

To set the fot size to chart text

Defaults to 12

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
              primaryXAxis: CategoryAxis(
                     labelStyle: ChartTextStyle(fontSize: 12),
                 ));
}

Implementation

@override
final double fontSize;