MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / applyDim

Function applyDim

libs/echarts/echarts.simple.js:32217–32226  ·  view source on GitHub ↗
(resultItem, coordDim, coordDimIndex)

Source from the content-addressed store, hash-verified

32215 });
32216
32217 function applyDim(resultItem, coordDim, coordDimIndex) {
32218 if (OTHER_DIMENSIONS.get(coordDim) != null) {
32219 resultItem.otherDims[coordDim] = coordDimIndex;
32220 }
32221 else {
32222 resultItem.coordDim = coordDim;
32223 resultItem.coordDimIndex = coordDimIndex;
32224 coordDimNameMap.set(coordDim, true);
32225 }
32226 }
32227
32228 // Make sure the first extra dim is 'value'.
32229 var generateCoord = opt.generateCoord;

Callers 1

completeDimensionsFunction · 0.70

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected