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

Function getStackedDimension

libs/echarts/echarts.simple.js:32720–32724  ·  view source on GitHub ↗

* @param {module:echarts/data/List} data * @param {string} targetDim * @param {string} [stackedByDim] If not input this parameter, check whether * stacked by index. * @return {string} dimension

(data, targetDim)

Source from the content-addressed store, hash-verified

32718 * @return {string} dimension
32719 */
32720function getStackedDimension(data, targetDim) {
32721 return isDimensionStacked(data, targetDim)
32722 ? data.getCalculationInfo('stackResultDimension')
32723 : targetDim;
32724}
32725
32726/*
32727* Licensed to the Apache Software Foundation (ASF) under one

Callers 1

unionExtentFunction · 0.70

Calls 1

isDimensionStackedFunction · 0.70

Tested by

no test coverage detected