提交 8ad31444 编写于 作者: S sushuang

add getDimensionsOnCoord.

上级 6e0260bb
...@@ -305,6 +305,13 @@ listProto.getDimensionInfo = function (dim) { ...@@ -305,6 +305,13 @@ listProto.getDimensionInfo = function (dim) {
return this._dimensionInfos[this.getDimension(dim)]; return this._dimensionInfos[this.getDimension(dim)];
}; };
/**
* @return {Array.<string>} concrete dimension name list on coord.
*/
listProto.getDimensionsOnCoord = function () {
return this._dimensionsSummary.dataDimsOnCoord.slice();
};
/** /**
* @param {string} coordDim * @param {string} coordDim
* @param {number|Array} [idx=0] A coordDim may map to more than one data dim. * @param {number|Array} [idx=0] A coordDim may map to more than one data dim.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册