The Linear Gauge in the package lacks a built-in number formatter, as highlighted in this issue.Also the basic formatting breaks when numbers with weird values are given
To address this, we have used the intl package's NumberFormat as a parameter. User will able to pass the numberformat and change the values as desired, by default the numberformat parameter Defaults to NumberFormat('#.##').
Description
The Linear Gauge in the package lacks a built-in number formatter, as highlighted in this issue.Also the basic formatting breaks when numbers with weird values are given
To address this, we have used the intl package's NumberFormat as a parameter. User will able to pass the
numberformat
and change the values as desired, by default thenumberformat
parameter Defaults toNumberFormat('#.##')
.