You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RangeError: minimumFractionDigits value is out of range.
at new NumberFormat (<anonymous>)
at getNumberFormat (src/chart.js:2822:17)
at formatNumber (src/chart.js:2828:10)
at LinearScale.numeric (src/chart.js:4589:12)
at callback (src/chart.js:802:15)
at LinearScale.generateTickLabels (src/chart.js:5145:20)
at LinearScale._convertTicksToLabels (src/chart.js:5298:8)
at LinearScale.update (src/chart.js:5055:8)
at fitBoxes (src/chart.js:2144:9)
at Object.update (src/chart.js:2280:5)
Both cases are fixed by making sure min <= max in the getMinMax of core.scale
// Make sure min <= max when only min or max is defined by user and the data is outside that rangemin=maxDefined&&min>max ? max : min;max=minDefined&&min>max ? min : max;return{min: finiteOrDefault(min,finiteOrDefault(max,min)),max: finiteOrDefault(max,finiteOrDefault(min,max))};
Both cases are fixed by making sure
min
<=max
in thegetMinMax
ofcore.scale
Originally posted by @kurkle in #9641 (comment)
The text was updated successfully, but these errors were encountered: