numberFormat property

NumberFormat? numberFormat
final

Formats the numeric axis labels with globalized label formats.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(numberFormat:
            NumberFormat.compactCurrency()),
       )
   );
}

Implementation

final NumberFormat? numberFormat;