@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
19 lines • 683 B
JavaScript
import { __extends } from "tslib";
import * as _ from '@antv/util';
import BasePlot from '../../base/plot';
import BubbleLayer from './layer';
var Bubble = /** @class */ (function (_super) {
__extends(Bubble, _super);
function Bubble() {
return _super !== null && _super.apply(this, arguments) || this;
}
Bubble.prototype.createLayers = function (props) {
var layerProps = _.deepMix({}, props);
layerProps.type = 'bubble';
_super.prototype.createLayers.call(this, layerProps);
};
Bubble.getDefaultOptions = BubbleLayer.getDefaultOptions;
return Bubble;
}(BasePlot));
export default Bubble;
//# sourceMappingURL=index.js.map