decimalPlaces property
Specifies the number decimals to be displayed in tooltip text
Defaults to 3
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
tooltipBehavior: TooltipBehavior(
enable: true, decimalPlaces:5),
));
}
Implementation
final int decimalPlaces;