1 | import { InjectionToken } from '@angular/core';
|
2 | import { ChartComponentLike, Defaults } from 'chart.js';
|
3 | import { DeepPartial } from 'chart.js/dist/types/utils';
|
4 | export declare const NG_CHARTS_CONFIGURATION: InjectionToken<NgChartsConfiguration>;
|
5 | export type NgChartsConfiguration = {
|
6 | |
7 |
|
8 |
|
9 | registerables?: readonly ChartComponentLike[];
|
10 | |
11 |
|
12 |
|
13 | defaults?: DeepPartial<Defaults>;
|
14 | };
|
15 |
|
16 |
|
17 |
|
18 | export declare function withDefaultRegisterables(...registerables: ChartComponentLike[]): NgChartsConfiguration;
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare function provideCharts(...configurations: readonly NgChartsConfiguration[]): {
|
24 | provide: InjectionToken<NgChartsConfiguration>;
|
25 | useValue: NgChartsConfiguration;
|
26 | };
|