igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
103 lines (102 loc) • 4.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 { __extends } from "tslib";
import { StrategyBasedIndicator } from "./StrategyBasedIndicator";
import { FullStochasticOscillatorIndicatorStrategy } from "./FullStochasticOscillatorIndicatorStrategy";
import { typeGetValue, markType } from "igniteui-react-core";
import { Brush } from "igniteui-react-core";
/**
* @hidden
*/
var FullStochasticOscillatorIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(FullStochasticOscillatorIndicator, _super);
function FullStochasticOscillatorIndicator() {
var _this = _super.call(this) || this;
_this.trendLineBrush = ((function () {
var $ret = new Brush();
$ret.fill = "#565656";
return $ret;
})());
_this.trendLineType = 10;
_this.trendLinePeriod = 3;
return _this;
}
FullStochasticOscillatorIndicator.prototype.bk = function () {
return new FullStochasticOscillatorIndicator();
};
FullStochasticOscillatorIndicator.prototype.get_acg = function () {
return new FullStochasticOscillatorIndicatorStrategy();
};
Object.defineProperty(FullStochasticOscillatorIndicator.prototype, "acg", {
get: function () {
return this.get_acg();
},
enumerable: false,
configurable: true
});
FullStochasticOscillatorIndicator.prototype.get_act = function () {
return FullStochasticOscillatorIndicator.$;
};
Object.defineProperty(FullStochasticOscillatorIndicator.prototype, "act", {
get: function () {
return this.get_act();
},
enumerable: false,
configurable: true
});
Object.defineProperty(FullStochasticOscillatorIndicator.prototype, "ac1", {
get: function () {
return typeGetValue(this.c(FullStochasticOscillatorIndicator.ac6));
},
set: function (a) {
this.h(FullStochasticOscillatorIndicator.ac6, a);
},
enumerable: false,
configurable: true
});
FullStochasticOscillatorIndicator.prototype.acm = function () {
return this.ac1;
};
FullStochasticOscillatorIndicator.prototype.acv = function (a) {
this.ac1 = a;
};
Object.defineProperty(FullStochasticOscillatorIndicator.prototype, "smoothingPeriod", {
get: function () {
return typeGetValue(this.c(FullStochasticOscillatorIndicator.ac7));
},
set: function (a) {
this.h(FullStochasticOscillatorIndicator.ac7, a);
},
enumerable: false,
configurable: true
});
FullStochasticOscillatorIndicator.prototype.aco = function () {
return this.smoothingPeriod;
};
Object.defineProperty(FullStochasticOscillatorIndicator.prototype, "ac3", {
get: function () {
return typeGetValue(this.c(FullStochasticOscillatorIndicator.ac8));
},
set: function (a) {
this.h(FullStochasticOscillatorIndicator.ac8, a);
},
enumerable: false,
configurable: true
});
FullStochasticOscillatorIndicator.prototype.acl = function () {
return this.ac3;
};
FullStochasticOscillatorIndicator.prototype.abw = function () {
return this.ac3;
};
FullStochasticOscillatorIndicator.$t = markType(FullStochasticOscillatorIndicator, 'FullStochasticOscillatorIndicator', StrategyBasedIndicator.$);
FullStochasticOscillatorIndicator.ac6 = StrategyBasedIndicator.acy(14, FullStochasticOscillatorIndicator.$);
FullStochasticOscillatorIndicator.ac7 = StrategyBasedIndicator.acz(3, FullStochasticOscillatorIndicator.$, "SmoothingPeriod");
FullStochasticOscillatorIndicator.ac8 = StrategyBasedIndicator.acz(3, FullStochasticOscillatorIndicator.$, "TriggerPeriod");
return FullStochasticOscillatorIndicator;
}(StrategyBasedIndicator));
export { FullStochasticOscillatorIndicator };