igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
72 lines (71 loc) • 3.1 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 { SlowStochasticOscillatorIndicatorStrategy } from "./SlowStochasticOscillatorIndicatorStrategy";
import { typeGetValue, markType } from "igniteui-react-core";
import { Brush } from "igniteui-react-core";
/**
* @hidden
*/
var SlowStochasticOscillatorIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(SlowStochasticOscillatorIndicator, _super);
function SlowStochasticOscillatorIndicator() {
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;
}
SlowStochasticOscillatorIndicator.prototype.bk = function () {
return new SlowStochasticOscillatorIndicator();
};
SlowStochasticOscillatorIndicator.prototype.get_acg = function () {
return new SlowStochasticOscillatorIndicatorStrategy();
};
Object.defineProperty(SlowStochasticOscillatorIndicator.prototype, "acg", {
get: function () {
return this.get_acg();
},
enumerable: false,
configurable: true
});
SlowStochasticOscillatorIndicator.prototype.get_act = function () {
return SlowStochasticOscillatorIndicator.$;
};
Object.defineProperty(SlowStochasticOscillatorIndicator.prototype, "act", {
get: function () {
return this.get_act();
},
enumerable: false,
configurable: true
});
Object.defineProperty(SlowStochasticOscillatorIndicator.prototype, "ac1", {
get: function () {
return typeGetValue(this.c(SlowStochasticOscillatorIndicator.ac2));
},
set: function (a) {
this.h(SlowStochasticOscillatorIndicator.ac2, a);
},
enumerable: false,
configurable: true
});
SlowStochasticOscillatorIndicator.prototype.acm = function () {
return this.ac1;
};
SlowStochasticOscillatorIndicator.prototype.acv = function (a) {
this.ac1 = a;
};
SlowStochasticOscillatorIndicator.$t = markType(SlowStochasticOscillatorIndicator, 'SlowStochasticOscillatorIndicator', StrategyBasedIndicator.$);
SlowStochasticOscillatorIndicator.ac2 = StrategyBasedIndicator.acy(14, SlowStochasticOscillatorIndicator.$);
return SlowStochasticOscillatorIndicator;
}(StrategyBasedIndicator));
export { SlowStochasticOscillatorIndicator };