MCPcopy Index your code
hub / github.com/apache/echarts / createVisualRectForEl

Function createVisualRectForEl

test/lib/testHelper.js:1751–1762  ·  view source on GitHub ↗
(el, visualRectGroup)

Source from the content-addressed store, hash-verified

1749 }
1750
1751 function createVisualRectForEl(el, visualRectGroup) {
1752 createRectForDisplayable(el, visualRectGroup);
1753 var textContent = el.getTextContent();
1754 var textGuildLine = el.getTextGuideLine();
1755 var textConfig = el.textConfig;
1756 if (textContent || textGuildLine) {
1757 var isLocal = textConfig && textConfig.local;
1758 var targetVisualGroup = isLocal ? visualRectGroup : _bRectGroup;
1759 textContent && createRectForDisplayable(textContent, targetVisualGroup, true);
1760 textGuildLine && createRectForDisplayable(textGuildLine, targetVisualGroup, true);
1761 }
1762 }
1763
1764 function createVisualRectGroup(fromEl, visualRectGroupParent) {
1765 var visualRectGroup = new echarts.graphic.Group();

Callers 1

travelGroupAndBuildRectsFunction · 0.85

Calls 1

createRectForDisplayableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…