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

Function ensureSourceDimNameMap

src/data/helper/SeriesDataSchema.ts:258–263  ·  view source on GitHub ↗
(source: Source)

Source from the content-addressed store, hash-verified

256}
257
258export function ensureSourceDimNameMap(source: Source): HashMap<DimensionIndex, DimensionName> {
259 const innerSource = inner(source);
260 return innerSource.dimNameMap || (
261 innerSource.dimNameMap = createDimNameMap(source.dimensionsDefine)
262 );
263}
264
265export function shouldOmitUnusedDimensions(dimCount: number): boolean {
266 return dimCount > 30;

Callers 2

prepareSeriesDataSchemaFunction · 0.90
_updateDimOmittedMethod · 0.85

Calls 2

innerFunction · 0.85
createDimNameMapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…