MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / getStackedOnPoints

Function getStackedOnPoints

libs/echarts/echarts-en.simple.js:34823–34834  ·  view source on GitHub ↗

* @param {module:echarts/coord/cartesian/Cartesian2D|module:echarts/coord/polar/Polar} coordSys * @param {module:echarts/data/List} data * @param {Object} dataCoordInfo * @param {Array. >} points

(coordSys, data, dataCoordInfo)

Source from the content-addressed store, hash-verified

34821 * @param {Array.<Array.<number>>} points
34822 */
34823function getStackedOnPoints(coordSys, data, dataCoordInfo) {
34824 if (!dataCoordInfo.valueDim) {
34825 return [];
34826 }
34827
34828 var points = [];
34829 for (var idx = 0, len = data.count(); idx < len; idx++) {
34830 points.push(getStackedOnPoint(dataCoordInfo, coordSys, data, idx));
34831 }
34832
34833 return points;
34834}
34835
34836function turnPointsIntoStep(points, coordSys, stepTurnAt) {
34837 var baseAxis = coordSys.getBaseAxis();

Callers 1

Calls 2

pushMethod · 0.80
getStackedOnPointFunction · 0.70

Tested by

no test coverage detected