gauge.js icon indicating copy to clipboard operation
gauge.js copied to clipboard

Remove decimal separator

Open kamanlid opened this issue 4 years ago • 2 comments

Great work! thanks for sharing.

Is there a way to remove the decimal separator (thousands separator) from the values displayed? The Gauge displays numbers above 1000 with separator even if the input value doesn't have it.

Thanks!

kamanlid avatar Sep 28 '20 14:09 kamanlid

Hi, we have the same question here because we don't use this separator in french ;-)

SemaphoreOxalis avatar Nov 23 '20 16:11 SemaphoreOxalis

Function would need to change.

The commas are added here. https://github.com/bernii/gauge.js/blob/9ec4aca4a3daf0929350f0c8139914a98ab25db4/dist/gauge.js#L96-L110

austenstone avatar Aug 27 '21 17:08 austenstone