igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
84 lines (83 loc) • 2.87 kB
TypeScript
import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component";
import { AbsoluteVolumeOscillatorIndicator } from "./AbsoluteVolumeOscillatorIndicator";
/**
* 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
* <igc-data-chart id="chart">
* <igc-category-x-axis
* label="label"
* name="xAxis">
* </igc-category-x-axis>
* <igc-numeric-y-axis
* key="yAxis">
* </igc-numeric-y-axis>
* <igc-absolute-volume-oscillator-indicator
* xAxisName="xAxis"
* yAxisName="yAxis"
* openMemberPath="open"
* highMemberPath="high"
* lowMemberPath="low"
* closeMemberPath="close">
* </igc-absolute-volume-oscillator-indicator>
* </igc-data-chart>
* ```
*
* ```ts
* let chart = document.getElementById("chart")! as IgcDataChart;
* chart.dataSource = this.data;
* ```
*
* ```ts
* let series = new IgcAbsoluteVolumeOscillatorIndicatorComponent();
* 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 IgcAbsoluteVolumeOscillatorIndicatorComponent extends IgcStrategyBasedIndicatorComponent {
protected createImplementation(): AbsoluteVolumeOscillatorIndicator;
/**
* @hidden
*/
get i(): AbsoluteVolumeOscillatorIndicator;
constructor();
connectedCallback(): void;
disconnectedCallback(): void;
private static _observedAttributesIgcAbsoluteVolumeOscillatorIndicatorComponent;
static get observedAttributes(): string[];
static htmlTagName: string;
protected static _isElementRegistered: boolean;
static register(): void;
/**
* 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.
*
* ```ts
* this.series.shortPeriod = 10;
* ```
*/
get shortPeriod(): number;
set shortPeriod(v: number);
/**
* 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.
*
* ```ts
* this.series.longPeriod = 30;
* ```
*/
get longPeriod(): number;
set longPeriod(v: number);
}