@syncfusion/ej2-react-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 React
26 lines (25 loc) • 1.03 kB
TypeScript
import { ComplexBase } from '@syncfusion/ej2-react-base';
import { StockChartAnnotationSettingsModel } from '@syncfusion/ej2-charts';
export interface StockChartAnnotationSettingsDirTypecast {
content?: string | Function | any;
}
/**
* `Annotation` directive represent a annotation of the react Chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <StockChartComponent>
* <StockChartAnnotationsDirective>
* <StockChartAnnotationDirective></StockChartAnnotationDirective>
* </StockChartAnnotationsDirective>
* </StockChartComponent>
* ```
*/
export declare class StockChartAnnotationDirective extends ComplexBase<StockChartAnnotationSettingsModel | StockChartAnnotationSettingsDirTypecast & {
children?: React.ReactNode;
}, StockChartAnnotationSettingsModel | StockChartAnnotationSettingsDirTypecast> {
static moduleName: string;
}
export declare class StockChartAnnotationsDirective extends ComplexBase<{}, {}> {
static propertyName: string;
static moduleName: string;
}