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

Method add

src/component/dataZoom/DataZoomModel.ts:139–145  ·  view source on GitHub ↗
(axisCmptIdx: ComponentModel['componentIndex'])

Source from the content-addressed store, hash-verified

137 indexMap: boolean[] = [];
138
139 add(axisCmptIdx: ComponentModel['componentIndex']): void {
140 // Remove duplication.
141 if (!this.indexMap[axisCmptIdx]) {
142 this.indexList.push(axisCmptIdx);
143 this.indexMap[axisCmptIdx] = true;
144 }
145 }
146}
147export type DataZoomTargetAxisInfoMap = HashMap<DataZoomAxisInfo, DataZoomAxisDimension>;
148

Callers 15

setParallelAxisMethod · 0.95
createElFunction · 0.45
renderSeriesMethod · 0.45
renderSeriesMethod · 0.45
renderSeriesMethod · 0.45
setContentMethod · 0.45
initMethod · 0.45
renderMethod · 0.45
renderInnerMethod · 0.45
_createSelectorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected