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

Method _initGetDimensionInfo

src/data/SeriesData.ts:475–480  ·  view source on GitHub ↗
(needsHasOwn: boolean)

Source from the content-addressed store, hash-verified

473 private _getDimInfo: (dimName: SeriesDimensionName) => SeriesDimensionDefine;
474
475 private _initGetDimensionInfo(needsHasOwn: boolean): void {
476 const dimensionInfos = this._dimInfos;
477 this._getDimInfo = needsHasOwn
478 ? dimName => (dimensionInfos.hasOwnProperty(dimName) ? dimensionInfos[dimName] : undefined)
479 : dimName => dimensionInfos[dimName];
480 }
481
482 /**
483 * concrete dimension name list on coord.

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected