MCPcopy
hub / github.com/apache/echarts / relayoutResult

Function relayoutResult

test/lib/testHelper.js:2069–2076  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2067 relayoutResult();
2068
2069 function relayoutResult() {
2070 var chartHeight = chart ? chart.getHeight() : hostDOMEl.offsetHeight;
2071 var lineHeight = Math.min(fontSize + 10, (chartHeight - 20) / printAssertRecord.length);
2072 for (var i = 0; i < printAssertRecord.length; i++) {
2073 var record = printAssertRecord[i];
2074 record.style.top = (10 + i * lineHeight) + 'px';
2075 }
2076 }
2077 };
2078
2079

Callers 1

testHelper.jsFile · 0.85

Calls 1

getHeightMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…