UNPKG

@antv/g2plot

Version:

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

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