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

Function getRawData

src/data/helper/transform.ts:262–274  ·  view source on GitHub ↗
(upstream: Source)

Source from the content-addressed store, hash-verified

260}
261
262function getRawData(upstream: Source): Source['data'] {
263 const sourceFormat = upstream.sourceFormat;
264
265 if (!isSupportedSourceFormat(sourceFormat)) {
266 let errMsg = '';
267 if (__DEV__) {
268 errMsg = '`getRawData` is not supported in source format ' + sourceFormat;
269 }
270 throwError(errMsg);
271 }
272
273 return upstream.data;
274}
275
276function cloneRawData(upstream: Source): Source['data'] {
277 const sourceFormat = upstream.sourceFormat;

Callers

nothing calls this directly

Calls 2

throwErrorFunction · 0.90
isSupportedSourceFormatFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…