he wei
2025-06-06 895129470d7ee48183fc15b9ee18ef0880503e5d
1
2
3
4
5
6
7
8
9
10
11
12
13
function getYMin(data) {
  let min = data.min;
  if (min == Infinity) {
    return 0;
  }
  if (min > 0) {
    return Math.floor(min * 0.9);
  } else {
    return Math.floor(min * 1.01);
  }
}
 
export default getYMin;