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

Function dataTaskReset

src/model/Series.ts:798–802  ·  view source on GitHub ↗
(context: SeriesTaskContext)

Source from the content-addressed store, hash-verified

796}
797
798function dataTaskReset(context: SeriesTaskContext) {
799 const seriesModel = context.model;
800 seriesModel.setData(seriesModel.getRawData().cloneShallow());
801 return dataTaskProgress;
802}
803
804function dataTaskProgress(param: StageHandlerProgressParams, context: SeriesTaskContext): void {
805 // Avoid repeat cloneShallow when data just created in reset.

Callers

nothing calls this directly

Calls 3

setDataMethod · 0.80
cloneShallowMethod · 0.45
getRawDataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…