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

Method getSourceDimension

src/data/helper/SeriesDataSchema.ts:114–119  ·  view source on GitHub ↗

* @caution Can only be used when `dimensionOmitted: true`. * * Notice: may return `null`/`undefined` if user not specify dimension names.

(dimIndex: DimensionIndex)

Source from the content-addressed store, hash-verified

112 * Notice: may return `null`/`undefined` if user not specify dimension names.
113 */
114 getSourceDimension(dimIndex: DimensionIndex): DimensionDefinition {
115 const dimensionsDefine = this.source.dimensionsDefine;
116 if (dimensionsDefine) {
117 return dimensionsDefine[dimIndex];
118 }
119 }
120
121 makeStoreSchema(): {
122 dimensions: DataStoreDimensionDefine[];

Callers 3

makeStoreSchemaMethod · 0.95
getDimensionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected