@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
32 lines (31 loc) • 954 B
TypeScript
import { ComplexBase } from '@syncfusion/ej2-react-base';
import { MultiLevelCategoriesModel } from '@syncfusion/ej2-charts';
/**
* `CategoryDirective` directive represent a trendline of the react chart.
* It must be contained in a Chart component(`ChartComponent`).
* ```tsx
* <ChartComponent>
* <AxesDirective>
* <AxisDirective>
* <MultiLevelLabelsDirective>
* <MultiLevelLabelDirective>
* <CategoriesDirective>
* <CategoryDirective>
* </CategoryDirective>
* </CategoriesDirective>
* </MultiLevelLabelDirective>
* </MultiLevelLabelsDirective>
* </AxisDirective>
* </AxesDirective>
* </ChartComponent>
* ```
*/
export declare class CategoryDirective extends ComplexBase<MultiLevelCategoriesModel & {
children?: React.ReactNode;
}, MultiLevelCategoriesModel> {
static moduleName: string;
}
export declare class CategoriesDirective extends ComplexBase<{}, {}> {
static propertyName: string;
static moduleName: string;
}