igniteui-angular-gauges
Version:
Ignite UI Angular gauge components.
33 lines (32 loc) • 1.59 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 { LinearGraphRectFrame } from "./LinearGraphRectFrame";
import { markType } from "igniteui-angular-core";
/**
* @hidden
*/
var BulletGraphScaleFrame = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(BulletGraphScaleFrame, _super);
function BulletGraphScaleFrame() {
var _this = _super.call(this) || this;
_this.ag = null;
_this.af = null;
_this.ag = new LinearGraphRectFrame();
_this.af = new LinearGraphRectFrame();
return _this;
}
BulletGraphScaleFrame.prototype.y = function (a, b, c) {
_super.prototype.y.call(this, a, b, c);
this.ag = LinearGraphRectFrame.a(a, 1 - a, b.ag, c.ag);
this.af = LinearGraphRectFrame.a(a, 1 - a, b.af, c.af);
};
BulletGraphScaleFrame.$t = markType(BulletGraphScaleFrame, 'BulletGraphScaleFrame', LinearGraphScaleFrame.$);
return BulletGraphScaleFrame;
}(LinearGraphScaleFrame));
export { BulletGraphScaleFrame };