UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

19 lines 693 B
import { __extends } from "tslib"; import * as _ from '@antv/util'; import BasePlot from '../../base/plot'; import ScatterLayer from './layer'; var Scatter = /** @class */ (function (_super) { __extends(Scatter, _super); function Scatter() { return _super !== null && _super.apply(this, arguments) || this; } Scatter.prototype.createLayers = function (props) { var layerProps = _.deepMix({}, props); layerProps.type = 'scatter'; _super.prototype.createLayers.call(this, layerProps); }; Scatter.getDefaultOptions = ScatterLayer.getDefaultOptions; return Scatter; }(BasePlot)); export default Scatter; //# sourceMappingURL=index.js.map