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

Function getRawSourceItemGetter

src/data/helper/dataProvider.ts:380–388  ·  view source on GitHub ↗
(
    sourceFormat: SourceFormat, seriesLayoutBy: SeriesLayoutBy
)

Source from the content-addressed store, hash-verified

378};
379
380export function getRawSourceItemGetter(
381 sourceFormat: SourceFormat, seriesLayoutBy: SeriesLayoutBy
382): RawSourceItemGetter {
383 const method = rawSourceItemGetterMap[getMethodMapKey(sourceFormat, seriesLayoutBy)];
384 if (__DEV__) {
385 assert(method, 'Do not support get item on "' + sourceFormat + '", "' + seriesLayoutBy + '".');
386 }
387 return method;
388}
389
390
391

Callers 2

createExternalSourceFunction · 0.90
DefaultDataProviderClass · 0.85

Calls 2

getMethodMapKeyFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…