@antv/g2
Version:
the Grammar of Graphics in Javascript
12 lines • 351 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Constant = void 0;
/**
* Extract a column of data filled with the specified constant.
*/
const Constant = ({ value }) => {
return (data) => data.map(() => value);
};
exports.Constant = Constant;
exports.Constant.props = {};
//# sourceMappingURL=constant.js.map
;