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