@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
88 lines (85 loc) • 2.65 kB
TypeScript
import { ViewContainerRef } from '@angular/core';
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
/**
* Annotation Directive
* ```html
* <e-annotations><e-annotation></e-annotation><e-annotations>
* ```
*/
export declare class AnnotationDirective extends ComplexBase<AnnotationDirective> {
private viewContainerRef;
directivePropList: any;
/**
* Specifies the coordinate units of the annotation. They are
* * Pixel - Annotation renders based on x and y pixel value.
* * Point - Annotation renders based on x and y axis value.
* @default 'Pixel'
*/
coordinateUnits: any;
/**
* Information about annotation for assistive technology.
* @default null
*/
description: any;
/**
* Specifies the alignment of the annotation. They are
* * Near - Align the annotation element as left side.
* * Far - Align the annotation element as right side.
* * Center - Align the annotation element as mid point.
* @default 'Center'
*/
horizontalAlignment: any;
/**
* Specifies the regions of the annotation. They are
* * Chart - Annotation renders based on chart coordinates.
* * Series - Annotation renders based on series coordinates.
* @default 'Chart'
*/
region: any;
/**
* Specifies the position of the annotation. They are
* * Top - Align the annotation element as top side.
* * Bottom - Align the annotation element as bottom side.
* * Middle - Align the annotation element as mid point.
* @default 'Middle'
*/
verticalAlignment: any;
/**
* if set coordinateUnit as `Pixel` X specifies the axis value
* else is specifies pixel or percentage of coordinate
* @default '0'
* @asptype object
*/
x: any;
/**
* The name of horizontal axis associated with the annotation.
* It requires `axes` of chart.
* @default null
*/
xAxisName: any;
/**
* if set coordinateUnit as `Pixel` Y specifies the axis value
* else is specifies pixel or percentage of coordinate
* @default '0'
*/
y: any;
/**
* The name of vertical axis associated with the annotation.
* It requires `axes` of chart.
* @default null
*/
yAxisName: any;
/**
* Content of the annotation, which accepts the id of the custom element.
* @default null
*/
content: any;
constructor(viewContainerRef: ViewContainerRef);
}
/**
* Annotation Array Directive
* @private
*/
export declare class AnnotationsDirective extends ArrayBase<AnnotationsDirective> {
constructor();
}