UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

39 lines 1.37 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { LogScale } from "../../scale/logScale"; import { NumberAxis, clamper } from "./numberAxis"; var LogAxis = /** @class */ (function (_super) { __extends(LogAxis, _super); function LogAxis() { var _this = _super.call(this) || this; _this.scale = new LogScale(); _this.scale.clamper = clamper; return _this; } Object.defineProperty(LogAxis.prototype, "base", { get: function () { return this.scale.base; }, set: function (value) { this.scale.base = value; }, enumerable: true, configurable: true }); LogAxis.className = 'LogAxis'; LogAxis.type = 'log'; return LogAxis; }(NumberAxis)); export { LogAxis }; //# sourceMappingURL=logAxis.js.map