igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
103 lines (102 loc) • 3.39 kB
TypeScript
import { IgrStrategyBasedIndicator, IIgrStrategyBasedIndicatorProps } from "./igr-strategy-based-indicator";
import { ChaikinVolatilityIndicator } from "./ChaikinVolatilityIndicator";
/**
* Represents a IgxDataChartComponent Chaikin Volatility indicator series.
* The ChaikinVolatility indicator attempts to show volatility by displaying the spread between
* the high and low values.
* Default required members: High, Low
*
* `ChaikinVolatilityIndicator` class specify the series as Chaikin Volitility Indicator series.
*
* ```ts
* <IgrDataChart
* dataSource={this.state.dataSource} >
*
* <IgrCategoryXAxis name="xAxis" />
* <IgrNumericYAxis name="yAxis" />
*
* <IgrChaikinVolatilityIndicator
* name="series1"
* xAxisName="xAxis"
* yAxisName="yAxis"
* openMemberPath="open"
* highMemberPath="high"
* lowMemberPath="low"
* closeMemberPath="close"
* volumeMemberPath="volume" />
* </IgrDataChart>
* ```
*/
export declare class IgrChaikinVolatilityIndicator extends IgrStrategyBasedIndicator<IIgrChaikinVolatilityIndicatorProps> {
protected createImplementation(): ChaikinVolatilityIndicator;
/**
* @hidden
*/
get i(): ChaikinVolatilityIndicator;
constructor(props: IIgrChaikinVolatilityIndicatorProps);
/**
* Gets or sets the moving average period for the current ChaikinVolatilityIndicator object.
* The typical, and initial, value for ChaikinVolatilityIndicator periods is 10.
*
* Set the `Period` property if you wish to change the moving average period for the indicator.
*
* ```ts
* this.series.longPeriod = 30;
* ```
*
* ```ts
* <IgrDataChart
* dataSource={this.state.dataSource} >
*
* <IgrCategoryXAxis name="xAxis" />
* <IgrNumericYAxis name="yAxis" />
*
* <IgrChaikinVolatilityIndicator
* name="series1"
* xAxisName="xAxis"
* yAxisName="yAxis"
* openMemberPath="open"
* highMemberPath="high"
* lowMemberPath="low"
* closeMemberPath="close"
* volumeMemberPath="volume"
* period={30} />
* </IgrDataChart>
* ```
*/
get period(): number;
set period(v: number);
}
export interface IIgrChaikinVolatilityIndicatorProps extends IIgrStrategyBasedIndicatorProps {
/**
* Gets or sets the moving average period for the current ChaikinVolatilityIndicator object.
* The typical, and initial, value for ChaikinVolatilityIndicator periods is 10.
*
* Set the `Period` property if you wish to change the moving average period for the indicator.
*
* ```ts
* this.series.longPeriod = 30;
* ```
*
* ```ts
* <IgrDataChart
* dataSource={this.state.dataSource} >
*
* <IgrCategoryXAxis name="xAxis" />
* <IgrNumericYAxis name="yAxis" />
*
* <IgrChaikinVolatilityIndicator
* name="series1"
* xAxisName="xAxis"
* yAxisName="yAxis"
* openMemberPath="open"
* highMemberPath="high"
* lowMemberPath="low"
* closeMemberPath="close"
* volumeMemberPath="volume"
* period={30} />
* </IgrDataChart>
* ```
*/
period?: number | string;
}