mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-01-25 16:42:06 +00:00
Fix comma causing Terser issue (#9326)
This commit is contained in:
parent
4bdb57df8c
commit
e5dee9f88e
@ -98,7 +98,7 @@ function generateTicks(generationOptions, dataRange) {
|
||||
// until this point
|
||||
const decimalPlaces = Math.max(
|
||||
_decimalPlaces(spacing),
|
||||
_decimalPlaces(niceMin),
|
||||
_decimalPlaces(niceMin)
|
||||
);
|
||||
factor = Math.pow(10, isNullOrUndef(precision) ? decimalPlaces : precision);
|
||||
niceMin = Math.round(niceMin * factor) / factor;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user