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

Method incrementalRender

src/chart/parallel/ParallelView.ts:132–143  ·  view source on GitHub ↗
(taskParams: StageHandlerProgressParams, seriesModel: ParallelSeriesModel, ecModel: GlobalModel)

Source from the content-addressed store, hash-verified

130 }
131
132 incrementalRender(taskParams: StageHandlerProgressParams, seriesModel: ParallelSeriesModel, ecModel: GlobalModel) {
133 const data = seriesModel.getData();
134 const coordSys = seriesModel.coordinateSystem;
135 const progressiveEls: Element[] = this._progressiveEls = [];
136
137 for (let dataIndex = taskParams.start; dataIndex < taskParams.end; dataIndex++) {
138 const line = addEl(data, this._dataGroup, dataIndex, coordSys.dimensions, coordSys);
139 line.incremental = getIncrementalId(seriesModel);
140 updateElCommon(line, data, dataIndex, makeSeriesScope(seriesModel));
141 progressiveEls.push(line);
142 }
143 }
144
145 remove() {
146 this._dataGroup && this._dataGroup.removeAll();

Callers

nothing calls this directly

Calls 5

getIncrementalIdFunction · 0.90
addElFunction · 0.85
updateElCommonFunction · 0.85
makeSeriesScopeFunction · 0.70
getDataMethod · 0.65

Tested by

no test coverage detected