mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-03 23:14:02 +01:00
Fix comma causing Terser issue (#9326)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user