UNPKG

@antv/g2plot

Version:

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

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