decimalPlaces property

int decimalPlaces
final

The rounding decimal value of the label.

Defaults to 3.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(decimalPlaces: 3),
       )
   );
}

Implementation

final int decimalPlaces;