MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / shiftUp

Function shiftUp

libs/echarts/echarts.simple.js:43912–43925  ·  view source on GitHub ↗
(end, delta)

Source from the content-addressed store, hash-verified

43910 }
43911
43912 function shiftUp(end, delta) {
43913 for (var j = end; j >= 0; j--) {
43914 if (list[j].y - delta < viewTop) {
43915 break;
43916 }
43917
43918 list[j].y -= delta;
43919 if (j > 0
43920 && list[j].y > list[j - 1].y + list[j - 1].height
43921 ) {
43922 break;
43923 }
43924 }
43925 }
43926
43927 function changeX(list, isDownList, cx, cy, r, dir) {
43928 var lastDeltaX = dir > 0

Callers 2

shiftDownFunction · 0.70
adjustSingleSideFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected