igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
38 lines (37 loc) • 1.56 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 { ValuesHolder } from "./ValuesHolder";
import { markType } from "igniteui-angular-core";
/**
* @hidden
*/
var HighLowValuesHolder = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(HighLowValuesHolder, _super);
function HighLowValuesHolder() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.f = null;
_this.g = null;
return _this;
}
HighLowValuesHolder.prototype.get_e = function () {
if (this.f == null || this.g == null) {
return 0;
}
return Math.min(this.f.count, this.g.count);
};
Object.defineProperty(HighLowValuesHolder.prototype, "e", {
get: function () {
return this.get_e();
},
enumerable: false,
configurable: true
});
HighLowValuesHolder.$t = markType(HighLowValuesHolder, 'HighLowValuesHolder', ValuesHolder.$);
return HighLowValuesHolder;
}(ValuesHolder));
export { HighLowValuesHolder };