UNPKG

@antv/g2plot

Version:

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

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