UNPKG

@antv/g2plot

Version:

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

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