igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
75 lines (74 loc) • 3.5 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 { StrategyBasedIndicator } from "./StrategyBasedIndicator";
import { IShortPeriodLongPeriod_$type } from "./IShortPeriodLongPeriod";
import { PercentageVolumeOscillatorIndicatorStrategy } from "./PercentageVolumeOscillatorIndicatorStrategy";
import { typeGetValue, markType } from "igniteui-react-core";
/**
* @hidden
*/
var PercentageVolumeOscillatorIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(PercentageVolumeOscillatorIndicator, _super);
function PercentageVolumeOscillatorIndicator() {
return _super !== null && _super.apply(this, arguments) || this;
}
PercentageVolumeOscillatorIndicator.prototype.bk = function () {
return new PercentageVolumeOscillatorIndicator();
};
PercentageVolumeOscillatorIndicator.prototype.get_acg = function () {
return new PercentageVolumeOscillatorIndicatorStrategy();
};
Object.defineProperty(PercentageVolumeOscillatorIndicator.prototype, "acg", {
get: function () {
return this.get_acg();
},
enumerable: false,
configurable: true
});
PercentageVolumeOscillatorIndicator.prototype.get_act = function () {
return PercentageVolumeOscillatorIndicator.$;
};
Object.defineProperty(PercentageVolumeOscillatorIndicator.prototype, "act", {
get: function () {
return this.get_act();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PercentageVolumeOscillatorIndicator.prototype, "shortPeriod", {
get: function () {
return typeGetValue(this.c(PercentageVolumeOscillatorIndicator.ac2));
},
set: function (a) {
this.h(PercentageVolumeOscillatorIndicator.ac2, a);
},
enumerable: false,
configurable: true
});
PercentageVolumeOscillatorIndicator.prototype.aco = function () {
return this.shortPeriod;
};
Object.defineProperty(PercentageVolumeOscillatorIndicator.prototype, "longPeriod", {
get: function () {
return typeGetValue(this.c(PercentageVolumeOscillatorIndicator.ac1));
},
set: function (a) {
this.h(PercentageVolumeOscillatorIndicator.ac1, a);
},
enumerable: false,
configurable: true
});
PercentageVolumeOscillatorIndicator.prototype.acl = function () {
return this.longPeriod;
};
PercentageVolumeOscillatorIndicator.$t = markType(PercentageVolumeOscillatorIndicator, 'PercentageVolumeOscillatorIndicator', StrategyBasedIndicator.$, [IShortPeriodLongPeriod_$type]);
PercentageVolumeOscillatorIndicator.ac2 = StrategyBasedIndicator.ac0(10, PercentageVolumeOscillatorIndicator.$);
PercentageVolumeOscillatorIndicator.ac1 = StrategyBasedIndicator.acw(30, PercentageVolumeOscillatorIndicator.$);
return PercentageVolumeOscillatorIndicator;
}(StrategyBasedIndicator));
export { PercentageVolumeOscillatorIndicator };