igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
83 lines (82 loc) • 3.04 kB
TypeScript
import { IgxStrategyBasedIndicatorComponent } from "./igx-strategy-based-indicator-component";
import { DetrendedPriceOscillatorIndicator } from "./DetrendedPriceOscillatorIndicator";
import * as i0 from "@angular/core";
/**
* Represents a IgxDataChartComponent Detrended Price Oscillator indicator series.
* Default required members: Close
*
* The `DetrendedPriceOscillatorIndicator` class represents a IgxDataChartComponent Detrended Price Oscillator indicator series.
*
* ```html
* <igx-data-chart
* [dataSource]="data" >
* <igx-category-x-axis #xAxis
* label="label">
* </igx-category-x-axis>
* <igx-numeric-y-axis #yAxis>
* </igx-numeric-y-axis>
* <igx-detrended-price-oscillator-indicator
* [xAxis]="xAxis"
* [yAxis]="yAxis"
* openMemberPath="open"
* highMemberPath="high"
* lowMemberPath="low"
* closeMemberPath="close">
* </igx-detrended-price-oscillator-indicator>
* </igx-data-chart>
* ```
*
* ```ts
* let series = new IgxDetrendedPriceOscillatorIndicatorComponent();
* 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 declare class IgxDetrendedPriceOscillatorIndicatorComponent extends IgxStrategyBasedIndicatorComponent {
protected createImplementation(): DetrendedPriceOscillatorIndicator;
/**
* @hidden
*/
get i(): DetrendedPriceOscillatorIndicator;
constructor();
/**
* Gets or sets the moving average period for the current DetrendedPriceOscillatorIndicator object.
* The typical, and initial, value for DPO periods is 20.
*
* You can use the `period` to set the current moving average period.
*
* ```html
* <igx-data-chart
* [dataSource]="data" >
* <igx-category-x-axis #xAxis
* label="label">
* </igx-category-x-axis>
* <igx-numeric-y-axis #yAxis>
* </igx-numeric-y-axis>
* <igx-detrended-price-oscillator-indicator
* [xAxis]="xAxis"
* [yAxis]="yAxis"
* openMemberPath="open"
* highMemberPath="high"
* lowMemberPath="low"
* closeMemberPath="close"
* period=30>
* </igx-detrended-price-oscillator-indicator>
* </igx-data-chart>
* ```
*
* ```ts
* this.series.period = 30;
* ```
*/
get period(): number;
set period(v: number);
static ngAcceptInputType_period: number | string;
static ɵfac: i0.ɵɵFactoryDeclaration<IgxDetrendedPriceOscillatorIndicatorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IgxDetrendedPriceOscillatorIndicatorComponent, "igx-detrended-price-oscillator-indicator", never, { "period": "period"; }, {}, never, never>;
}