@antv/g2plot
Version:
An interactive and responsive charting library
21 lines • 534 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.setGlobal = exports.GLOBAL = void 0;
var util_1 = require("@antv/util");
/**
* @file 全局的一些变量定义:含国际化、主题...
*/
exports.GLOBAL = {
/** 全局语言 */
locale: 'en-US',
};
/**
* 全局变量设置
* @param key
* @param value
*/
function setGlobal(datum) {
(0, util_1.each)(datum, function (v, k) { return (exports.GLOBAL[k] = v); });
}
exports.setGlobal = setGlobal;
//# sourceMappingURL=global.js.map
;