@syncfusion/ej2-angular-charts
Version:
Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball. for Angular
102 lines (100 loc) • 2.32 kB
TypeScript
import { ViewContainerRef } from '@angular/core';
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
/**
* Series Directive
* ```html
* <e-series-collection>
* <e-series>
* <e-trendlines>
* <e-trendline>
* </e-trendline>
* </e-trendlines>
* </e-series-collection>
* ```
*/
export declare class TrendlineDirective extends ComplexBase<TrendlineDirective> {
private viewContainerRef;
directivePropList: any;
/**
* Defines the type of the trendline
* @default 'Linear'
*/
type: any;
/**
* Options to customize the animation for trendlines
*/
animation: any;
/**
* Defines the period, by which the trend has to backward forecast
* @default 0
*/
backwardForecast: any;
/**
* Defines the pattern of dashes and gaps to stroke.
* @default '0'
*/
dashArray: any;
/**
* Enables/disables tooltip for trendlines
* @default true
*/
enableTooltip: any;
/**
* Defines the fill color of trendline
* @default ''
*/
fill: any;
/**
* Defines the period, by which the trend has to forward forecast
* @default 0
*/
forwardForecast: any;
/**
* Defines the intercept of the trendline
* @default null
* @aspdefaultvalueignore
*/
intercept: any;
/**
* Sets the legend shape of the trendline
* @default 'SeriesType'
*/
legendShape: any;
/**
* Options to customize the marker for trendlines
*/
marker: any;
/**
* Defines the name of trendline
* @default ''
*/
name: any;
/**
* Defines the period, the price changes over which will be considered to predict moving average trend line
* @default 2
*/
period: any;
/**
* Defines the polynomial order of the polynomial trendline
* @default 2
*/
polynomialOrder: any;
/**
* Specifies the visibility of trendline.
* @default true
*/
visible: any;
/**
* Defines the width of the trendline
* @default 1
*/
width: any;
constructor(viewContainerRef: ViewContainerRef);
}
/**
* Trendline Array Directive
* @private
*/
export declare class TrendlinesDirective extends ArrayBase<TrendlinesDirective> {
constructor();
}