mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Removed unused method (#6849)
This commit is contained in:
parent
39f27f68b5
commit
f34d349328
@ -55,18 +55,6 @@ export function almostWhole(x, epsilon) {
|
||||
return ((rounded - epsilon) <= x) && ((rounded + epsilon) >= x);
|
||||
}
|
||||
|
||||
export function _setMinAndMax(array, target) {
|
||||
var i, ilen, value;
|
||||
|
||||
for (i = 0, ilen = array.length; i < ilen; i++) {
|
||||
value = array[i];
|
||||
if (!isNaN(value)) {
|
||||
target.min = Math.min(target.min, value);
|
||||
target.max = Math.max(target.max, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export function _setMinAndMaxByKey(array, target, property) {
|
||||
var i, ilen, value;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user