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

Method getDimensionInfo

src/data/SeriesData.ts:464–467  ·  view source on GitHub ↗

* Get type and calculation info of particular dimension * @param dim * Dimension can be concrete names like x, y, z, lng, lat, angle, radius * Or a ordinal number. For example getDimensionInfo(0) will return 'x' or 'lng' or 'radius'

(dim: SeriesDimensionLoose)

Source from the content-addressed store, hash-verified

462 * Or a ordinal number. For example getDimensionInfo(0) will return 'x' or 'lng' or 'radius'
463 */
464 getDimensionInfo(dim: SeriesDimensionLoose): SeriesDimensionDefine {
465 // Do not clone, because there may be categories in dimInfo.
466 return this._getDimInfo(this.getDimension(dim));
467 }
468
469 /**
470 * If `dimName` if from outside of `SeriesData`,

Callers 15

modifyMethod · 0.95
prepareDimensionsFunction · 0.45
prepareGroupByDimInfoFunction · 0.45
rFunction · 0.45
ordinalRawValueFunction · 0.45
wrapEncodeDefFunction · 0.45
getVisualGradientFunction · 0.45
dataDimToCoordDimFunction · 0.45
createListFunction · 0.45
createDataFunction · 0.45
createListFunction · 0.45

Calls 1

getDimensionMethod · 0.95

Tested by

no test coverage detected