UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

73 lines (72 loc) 2.62 kB
/* 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 { TRIXIndicatorStrategy } from "./TRIXIndicatorStrategy"; import { typeGetValue, markType } from "igniteui-react-core"; import { Brush } from "igniteui-react-core"; /** * @hidden */ var TRIXIndicator = /** @class */ /*@__PURE__*/ (function (_super) { __extends(TRIXIndicator, _super); function TRIXIndicator() { var _this = _super.call(this) || this; _this.abq = 0; _this.trendLineBrush = ((function () { var $ret = new Brush(); $ret.fill = "#565656"; return $ret; })()); _this.trendLineType = 9; _this.trendLinePeriod = 9; return _this; } TRIXIndicator.prototype.bk = function () { return new TRIXIndicator(); }; TRIXIndicator.prototype.get_aci = function () { return new TRIXIndicatorStrategy(); }; Object.defineProperty(TRIXIndicator.prototype, "aci", { get: function () { return this.get_aci(); }, enumerable: false, configurable: true }); TRIXIndicator.prototype.get_acv = function () { return TRIXIndicator.$; }; Object.defineProperty(TRIXIndicator.prototype, "acv", { get: function () { return this.get_acv(); }, enumerable: false, configurable: true }); Object.defineProperty(TRIXIndicator.prototype, "ac3", { get: function () { return typeGetValue(this.c(TRIXIndicator.ac4)); }, set: function (a) { this.h(TRIXIndicator.ac4, a); }, enumerable: false, configurable: true }); TRIXIndicator.prototype.aco = function () { return this.ac3; }; TRIXIndicator.prototype.acx = function (a) { this.ac3 = a; }; TRIXIndicator.$t = markType(TRIXIndicator, 'TRIXIndicator', StrategyBasedIndicator.$); TRIXIndicator.ac4 = StrategyBasedIndicator.ac0(15, TRIXIndicator.$); return TRIXIndicator; }(StrategyBasedIndicator)); export { TRIXIndicator };