UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

114 lines (113 loc) 3.86 kB
import { IgxStrategyBasedIndicatorComponent } from "./igx-strategy-based-indicator-component"; import { AbsoluteVolumeOscillatorIndicator } from "./AbsoluteVolumeOscillatorIndicator"; import * as i0 from "@angular/core"; /** * Represents a IgxDataChartComponent Absolute Volume Oscillator indicator series. * Default required members: Volume * * You can use the `AbsoluteVolumeOscillatorIndicator` to identify whether volume trands are increasing or decreasing. * * ```html * <igx-data-chart * #chart * [dataSource]="data" > * <igx-category-x-axis * label="label" * #xAxis> * </igx-category-x-axis> * <igx-numeric-y-axis * #yAxis> * </igx-numeric-y-axis> * <igx-absolute-volume-oscillator-indicator * [xAxis]="xAxis" * [yAxis]="yAxis" * openMemberPath="open" * highMemberPath="high" * lowMemberPath="low" * closeMemberPath="close"> * </igx-absolute-volume-oscillator-indicator> * </igx-data-chart> * ``` */ export declare class IgxAbsoluteVolumeOscillatorIndicatorComponent extends IgxStrategyBasedIndicatorComponent { protected createImplementation(): AbsoluteVolumeOscillatorIndicator; /** * @hidden */ get i(): AbsoluteVolumeOscillatorIndicator; constructor(); /** * Gets or sets the short moving average period for the current AbsoluteVolumeOscillatorIndicator object. * The typical, and initial, value for short AVO periods is 10. * * You can use the `ShortPeriod` to set the short moving average period. * * ```html * <igx-data-chart * [dataSource]="data" > * <igx-category-x-axis * label="label" * #xAxis> * </igx-category-x-axis> * <igx-numeric-y-axis * #yAxis> * </igx-numeric-y-axis> * <igx-absolute-volume-oscillator-indicator * #series * [xAxis]="xAxis" * [yAxis]="yAxis" * openMemberPath="open" * highMemberPath="high" * lowMemberPath="low" * closeMemberPath="close" * shortPeriod="10"> * </igx-absolute-volume-oscillator-indicator> * </igx-data-chart> * ``` * * ```ts * this.series.shortPeriod = 10; * ``` */ get shortPeriod(): number; set shortPeriod(v: number); static ngAcceptInputType_shortPeriod: number | string; /** * Gets or sets the short moving average period for the current AbsoluteVolumeOscillatorIndicator object. * The typical, and initial, value for long AVO periods is 30. * * You can use the `LongPeriod` to set the long moving average period. * * ```html * <igx-data-chart * [dataSource]="data" > * <igx-category-x-axis * label="label" * #xAxis> * </igx-category-x-axis> * <igx-numeric-y-axis * #yAxis> * </igx-numeric-y-axis> * <igx-absolute-volume-oscillator-indicator * #series * [xAxis]="xAxis" * [yAxis]="yAxis" * openMemberPath="open" * highMemberPath="high" * lowMemberPath="low" * closeMemberPath="close" * longPeriod="30"> * </igx-absolute-volume-oscillator-indicator> * </igx-data-chart> * ``` * * ```ts * this.series.longPeriod = 30; * ``` */ get longPeriod(): number; set longPeriod(v: number); static ngAcceptInputType_longPeriod: number | string; static ɵfac: i0.ɵɵFactoryDeclaration<IgxAbsoluteVolumeOscillatorIndicatorComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<IgxAbsoluteVolumeOscillatorIndicatorComponent, "igx-absolute-volume-oscillator-indicator", never, { "shortPeriod": "shortPeriod"; "longPeriod": "longPeriod"; }, {}, never, never>; }