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

Function dataTaskProgress

src/model/Series.ts:804–809  ·  view source on GitHub ↗
(param: StageHandlerProgressParams, context: SeriesTaskContext)

Source from the content-addressed store, hash-verified

802}
803
804function dataTaskProgress(param: StageHandlerProgressParams, context: SeriesTaskContext): void {
805 // Avoid repeat cloneShallow when data just created in reset.
806 if (context.outputData && param.end > context.outputData.count()) {
807 context.model.getRawData().cloneShallow(context.outputData);
808 }
809}
810
811// TODO refactor
812function wrapData(data: SeriesData, seriesModel: SeriesModel): void {

Callers

nothing calls this directly

Calls 3

countMethod · 0.65
cloneShallowMethod · 0.45
getRawDataMethod · 0.45

Tested by

no test coverage detected