UNPKG

igniteui-react-charts

Version:

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

59 lines (58 loc) 2.02 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 { StrategyBasedIndicator } from "./StrategyBasedIndicator"; import { TRIXIndicatorStrategy } from "./TRIXIndicatorStrategy"; import { typeGetValue, markType } from "igniteui-react-core"; import { Brush } from "igniteui-react-core"; /** * @hidden */ export let TRIXIndicator = /*@__PURE__*/ (() => { class TRIXIndicator extends StrategyBasedIndicator { bk() { return new TRIXIndicator(); } constructor() { super(); this.abo = 0; this.trendLineBrush = ((() => { let $ret = new Brush(); $ret.fill = "#565656"; return $ret; })()); this.trendLineType = 9; this.trendLinePeriod = 9; } get_acg() { return new TRIXIndicatorStrategy(); } get acg() { return this.get_acg(); } get_act() { return TRIXIndicator.$; } get act() { return this.get_act(); } get ac1() { return typeGetValue(this.c(TRIXIndicator.ac2)); } set ac1(a) { this.h(TRIXIndicator.ac2, a); } acm() { return this.ac1; } acv(a) { this.ac1 = a; } } TRIXIndicator.$t = /*@__PURE__*/ markType(TRIXIndicator, 'TRIXIndicator', StrategyBasedIndicator.$); TRIXIndicator.ac2 = /*@__PURE__*/ StrategyBasedIndicator.acy(15, TRIXIndicator.$); return TRIXIndicator; })();