MCPcopy Create free account
hub / github.com/apache/echarts / getNodeByDataIndex

Method getNodeByDataIndex

src/data/Tree.ts:367–370  ·  view source on GitHub ↗
(dataIndex: number)

Source from the content-addressed store, hash-verified

365 }
366
367 getNodeByDataIndex(dataIndex: number): TreeNode {
368 const rawIndex = this.data.getRawIndex(dataIndex);
369 return this._nodes[rawIndex];
370 }
371
372 getNodeById(name: string): TreeNode {
373 return this.root.getNodeById(name);

Callers 10

beforeLinkMethod · 0.80
getDataParamsMethod · 0.80
installTreeActionFunction · 0.80
beforeLinkMethod · 0.80
formatTooltipMethod · 0.80
getDataParamsMethod · 0.80
updateNodeFunction · 0.80
removeNodeFunction · 0.80
beforeLinkMethod · 0.80
getDataParamsMethod · 0.80

Calls 1

getRawIndexMethod · 0.65

Tested by

no test coverage detected