igniteui-angular-gauges
Version:
Ignite UI Angular gauge components.
33 lines (32 loc) • 1.6 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { LinearGraphScaleFrame } from "./LinearGraphScaleFrame";
import { LinearGraphNeedleFrame } from "./LinearGraphNeedleFrame";
import { markType } from "igniteui-angular-core";
/**
* @hidden
*/
var LinearGaugeScaleFrame = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(LinearGaugeScaleFrame, _super);
function LinearGaugeScaleFrame() {
var _this = _super.call(this) || this;
_this.ag = null;
_this.af = null;
_this.ag = new LinearGraphNeedleFrame();
_this.af = new LinearGraphNeedleFrame();
return _this;
}
LinearGaugeScaleFrame.prototype.y = function (a, b, c) {
_super.prototype.y.call(this, a, b, c);
this.ag = LinearGraphNeedleFrame.a(a, 1 - a, b.ag, c.ag);
this.af = LinearGraphNeedleFrame.a(a, 1 - a, b.af, c.af);
};
LinearGaugeScaleFrame.$t = markType(LinearGaugeScaleFrame, 'LinearGaugeScaleFrame', LinearGraphScaleFrame.$);
return LinearGaugeScaleFrame;
}(LinearGraphScaleFrame));
export { LinearGaugeScaleFrame };