UNPKG

@antv/g2plot

Version:

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

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