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