some modify
This commit is contained in:
parent
774b6c8708
commit
c1d324358b
|
@ -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])
|
||||||
|
|
Loading…
Reference in New Issue