some modify

This commit is contained in:
JM 2018-12-23 22:34:27 +08:00
parent 774b6c8708
commit c1d324358b
1 changed files with 0 additions and 2 deletions

View File

@ -93,8 +93,6 @@ export function getAxisPointsPos ([max, min], values, axisOriginPos, axisWH, tag
getAxisPointPos([max, min], v, axisOriginPos, axisWH, tagPos[i], horizon)) getAxisPointPos([max, min], v, axisOriginPos, axisWH, tagPos[i], horizon))
} }
if (value) console.error('111')
const percent = (value - min) / minus const percent = (value - min) / minus
const length = percent * (horizon ? axisWH[0] : axisWH[1]) const length = percent * (horizon ? axisWH[0] : axisWH[1])