UNPKG

@antv/f2

Version:

Charts for mobile visualization.

28 lines 771 B
import { __assign, __extends } from "tslib"; import { jsx } from '@antv/f-engine'; import Geometry from '../geometry'; export default (function (View) { return /** @class */function (_super) { __extends(Point, _super); function Point() { return _super !== null && _super.apply(this, arguments) || this; } Point.prototype.getDefaultCfg = function () { return { geomType: 'point' }; }; Point.prototype.render = function () { var props = this.props; var coord = props.coord; var records = this.mapping(); var clip = this.getClip(); return jsx(View, __assign({}, props, { coord: coord, records: records, clip: clip })); }; return Point; }(Geometry); });