UNPKG

igniteui-react-charts

Version:

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

54 lines (53 loc) 1.56 kB
import { IgrStrategyBasedIndicator } from "./igr-strategy-based-indicator"; import { UltimateOscillatorIndicator } from "./UltimateOscillatorIndicator"; /** * Represents a IgxDataChartComponent Ultimate Oscillator indicator series. * Default required members: High, Low, Close * * You can use the `UltimateOscillatorIndicator` which represents a IgxDataChartComponent Ultimate Oscillator indicator series. * * ```ts * <IgrDataChart * dataSource={this.state.dataSource} * width="700px" * height="500px"> * * <IgrCategoryXAxis name="xAxis" label="Year" /> * <IgrNumericYAxis name="yAxis" /> * * <IgrUltimateOscillatorIndicator * name="series1" * xAxisName="xAxis" * yAxisName="yAxis" * openMemberPath="Open" * closeMemberPath="close" * highMemberPath="High" * lowMemberPath="Low" /> * </IgrDataChart> * ``` * * ```ts * let series = new IgrUltimateOscillatorIndicator({name: "series"}); * series.xAxis = this.xAxis; * series.yAxis = this.yAxis; * series.openMemberPath = "open"; * series.highMemberPath = "high"; * series.lowMemberPath = "low"; * series.closeMemberPath = "close"; * this.chart.series.add(series); * ``` */ export class IgrUltimateOscillatorIndicator extends IgrStrategyBasedIndicator { createImplementation() { return new UltimateOscillatorIndicator(); } /** * @hidden */ get i() { return this._implementation; } constructor(props) { super(props); } }