igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
55 lines (54 loc) • 2.45 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 { StrategyBasedIndicator } from "./StrategyBasedIndicator";
import { IShortPeriodLongPeriod_$type } from "./IShortPeriodLongPeriod";
import { PercentagePriceOscillatorIndicatorStrategy } from "./PercentagePriceOscillatorIndicatorStrategy";
import { typeGetValue, markType } from "igniteui-react-core";
/**
* @hidden
*/
export let PercentagePriceOscillatorIndicator = /*@__PURE__*/ (() => {
class PercentagePriceOscillatorIndicator extends StrategyBasedIndicator {
bk() {
return new PercentagePriceOscillatorIndicator();
}
get_acg() {
return new PercentagePriceOscillatorIndicatorStrategy();
}
get acg() {
return this.get_acg();
}
get_act() {
return PercentagePriceOscillatorIndicator.$;
}
get act() {
return this.get_act();
}
get shortPeriod() {
return typeGetValue(this.c(PercentagePriceOscillatorIndicator.ac2));
}
set shortPeriod(a) {
this.h(PercentagePriceOscillatorIndicator.ac2, a);
}
aco() {
return this.shortPeriod;
}
get longPeriod() {
return typeGetValue(this.c(PercentagePriceOscillatorIndicator.ac1));
}
set longPeriod(a) {
this.h(PercentagePriceOscillatorIndicator.ac1, a);
}
acl() {
return this.longPeriod;
}
}
PercentagePriceOscillatorIndicator.$t = /*@__PURE__*/ markType(PercentagePriceOscillatorIndicator, 'PercentagePriceOscillatorIndicator', StrategyBasedIndicator.$, [IShortPeriodLongPeriod_$type]);
PercentagePriceOscillatorIndicator.ac2 = /*@__PURE__*/ StrategyBasedIndicator.ac0(10, PercentagePriceOscillatorIndicator.$);
PercentagePriceOscillatorIndicator.ac1 = /*@__PURE__*/ StrategyBasedIndicator.acw(30, PercentagePriceOscillatorIndicator.$);
return PercentagePriceOscillatorIndicator;
})();