numberFormat property
NumberFormat?
numberFormat
final
Formats the logarithmic axis labels with globalized label formats.
Provides the ability to format a number in a locale-specific way.
Defaults to null
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
primaryXAxis:
LogarithmicAxis(numberFormat: NumberFormat.compactCurrency()),
)
);
}
Implementation
final NumberFormat? numberFormat;