UNPKG

igniteui-react-charts

Version:

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

35 lines (34 loc) 1.49 kB
import { __extends } from "tslib"; import { IgrFinancialIndicator } from "./igr-financial-indicator"; /** * A base class for indicator series with simple calculations that separates the calculation * responsibility from the other responsibilities of the financial series, this enables * easier unit testing and decoupling of individual calculation strategies. * A contract is defined between the financial series and these simple indicator calculations * detailing the data which the series agrees to provide the simple indicator calculations, * this contract is defined by * FinancialCalculationDataSource. If more * complex interactions are needed between the indicator calculation and the series, the * indicators should instead derive from * FinancialIndicator directly, or some * derivative other than * StrategyBasedIndicator */ var IgrStrategyBasedIndicator = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgrStrategyBasedIndicator, _super); function IgrStrategyBasedIndicator(props) { return _super.call(this, props) || this; } Object.defineProperty(IgrStrategyBasedIndicator.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); return IgrStrategyBasedIndicator; }(IgrFinancialIndicator)); export { IgrStrategyBasedIndicator };