公告板
版本库
filestore
活动
搜索
登录
何威
/
fbxParser
fbx 。。。 解析
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
A first commit
he wei
2023-02-10
5a3753b8a6fbb346510c20436cb9733dd137e1e5
[~whychw/fbxParser.git]
/
src
/
components
/
chart
/
js
/
getYMax.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function getYMax(data) {
let max = data.max;
if (max == -Infinity) {
return 1;
}
if (max > 0) {
Math.ceil(max * 1.01);
} else {
return Math.floor(max * 0.9);
}
}
export default getYMax;