igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
74 lines (73 loc) • 2.61 kB
TypeScript
import { IgrSeries } from "./igr-series";
import { TrendLineType } from "igniteui-react-core";
import { IgrAnnotationLayer, IIgrAnnotationLayerProps } from "./igr-annotation-layer";
import { TrendLineLayer } from "./TrendLineLayer";
/**
* Represents the class of the value overlay. The value overlay is a line or circle representing a value on an axis.
*/
export declare class IgrTrendLineLayer extends IgrAnnotationLayer<IIgrTrendLineLayerProps> {
protected createImplementation(): TrendLineLayer;
/**
* @hidden
*/
get i(): TrendLineLayer;
constructor(props: IIgrTrendLineLayerProps);
get isAnnotationLayer(): boolean;
get isLineOnly(): boolean;
/**
* Gets or sets the series to target this annotation to.
*/
get targetSeries(): IgrSeries;
set targetSeries(v: IgrSeries);
private _targetSeriesName;
/**
* Gets or sets the name to use to resolve targetSeries from markup.
*/
get targetSeriesName(): string;
set targetSeriesName(v: string);
/**
* Gets the actual series being targeted by this annotation.
*/
get actualTargetSeries(): IgrSeries;
set actualTargetSeries(v: IgrSeries);
/**
* Gets or sets the trend type for the current series object.
*/
get trendLineType(): TrendLineType;
set trendLineType(v: TrendLineType);
/**
* Gets or sets the trend line period for the target series.
* The typical, and initial, value for trend line period is 7.
*/
get trendLinePeriod(): number;
set trendLinePeriod(v: number);
get isUsableInLegend(): boolean;
bindSeries(series: IgrSeries[]): void;
findByName(name: string): any;
protected _styling(container: any, component: any, parent?: any): void;
onApplyTemplate(): void;
getManagerIdentifier(): string;
}
export interface IIgrTrendLineLayerProps extends IIgrAnnotationLayerProps {
/**
* Gets or sets the series to target this annotation to.
*/
targetSeries?: IgrSeries;
/**
* Gets or sets the name to use to resolve targetSeries from markup.
*/
targetSeriesName?: string;
/**
* Gets the actual series being targeted by this annotation.
*/
actualTargetSeries?: IgrSeries;
/**
* Gets or sets the trend type for the current series object.
*/
trendLineType?: TrendLineType | string;
/**
* Gets or sets the trend line period for the target series.
* The typical, and initial, value for trend line period is 7.
*/
trendLinePeriod?: number | string;
}