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

Method incrementalRender

src/chart/heatmap/HeatmapView.ts:141–158  ·  view source on GitHub ↗
(
        params: StageHandlerProgressParams,
        seriesModel: HeatmapSeriesModel,
        ecModel: GlobalModel,
        api: ExtensionAPI
    )

Source from the content-addressed store, hash-verified

139 }
140
141 incrementalRender(
142 params: StageHandlerProgressParams,
143 seriesModel: HeatmapSeriesModel,
144 ecModel: GlobalModel,
145 api: ExtensionAPI
146 ) {
147 const coordSys = seriesModel.coordinateSystem;
148 if (coordSys) {
149 // geo does not support incremental rendering?
150 if (isGeoLikeCoordSys(coordSys)) {
151 this.render(seriesModel, ecModel, api);
152 }
153 else {
154 this._progressiveEls = [];
155 this._renderOnGridLike(seriesModel, api, params.start, params.end, true);
156 }
157 }
158 }
159
160 eachRendered(cb: (el: Element) => boolean | void) {
161 graphic.traverseElements(this._progressiveEls || this.group, cb);

Callers

nothing calls this directly

Calls 3

renderMethod · 0.95
_renderOnGridLikeMethod · 0.95
isGeoLikeCoordSysFunction · 0.90

Tested by

no test coverage detected