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