axisLabelFormatter property
Called while rendering each axis label in the chart.
Provides label text, axis name, orientation of the axis, trimmed text and text styles such as color, font size, and font weight to the user using the AxisLabelRenderDetails class.
You can customize the text and text style using the ChartAxisLabel class and can return it.
Implementation
final ChartLabelFormatterCallback? axisLabelFormatter;