UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

14 lines 504 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Transform = void 0; /** * Extract a column of data with specified map function from data. * Each datum in the array is not visual data by default. * Specifying identity scale for related channel explicitly will treat them as visual data. */ const Transform = ({ value }) => { return (data) => data.map(value); }; exports.Transform = Transform; exports.Transform.props = {}; //# sourceMappingURL=transform.js.map