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