UNPKG

1.06 kBTypeScriptView Raw
1import type { IntegratedModule } from 'ag-charts-types';
2import type { _GridChartsGridApi, _ModuleWithApi } from 'ag-grid-community';
3type IntegratedChartsModuleType = {
4 with: (params: IntegratedModule) => _ModuleWithApi<_GridChartsGridApi>;
5} & _ModuleWithApi<_GridChartsGridApi>;
6/**
7 * @deprecated v33 Deprecated as of v33, please use `IntegratedChartsModule` instead.
8 */
9export declare const GridChartsModule: _ModuleWithApi<_GridChartsGridApi>;
10/**
11 * @feature Integrated Charts
12 * Requires the AG Charts library to be provided to this module via the `with` method.
13 * The AG Charts module can be imported from either `ag-charts-community` or `ag-charts-enterprise`.
14 * @example
15 * import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';
16 * import { ModuleRegistry } from 'ag-grid-community';
17 * import { IntegratedChartsModule } from 'ag-grid-enterprise';
18 *
19 * ModuleRegistry.registerModules([ IntegratedChartsModule.with(AgChartsEnterpriseModule) ]);
20 */
21export declare const IntegratedChartsModule: IntegratedChartsModuleType;
22export {};