igniteui-angular-gauges
Version:
Ignite UI Angular gauge components.
31 lines (30 loc) • 1.42 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 { LinearGraphScaleFrame } from "./LinearGraphScaleFrame";
import { LinearGraphNeedleFrame } from "./LinearGraphNeedleFrame";
import { markType } from "igniteui-angular-core";
/**
* @hidden
*/
export let LinearGaugeScaleFrame = /*@__PURE__*/ (() => {
class LinearGaugeScaleFrame extends LinearGraphScaleFrame {
constructor() {
super();
this.ag = null;
this.af = null;
this.ag = new LinearGraphNeedleFrame();
this.af = new LinearGraphNeedleFrame();
}
y(a, b, c) {
super.y(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;
})();