@esfaenza/es-charts 19.2.26 → 20.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/esfaenza-es-charts.mjs +40 -40
- package/fesm2022/esfaenza-es-charts.mjs.map +1 -1
- package/index.d.ts +1676 -3
- package/package.json +3 -3
- package/lib/adapters/BaseAdapter.d.ts +0 -40
- package/lib/adapters/IBaseAdapter.d.ts +0 -35
- package/lib/components/base/base-chart.component.d.ts +0 -304
- package/lib/components/chart-pager/chart-pager.component.d.ts +0 -70
- package/lib/components/specializations/es-area-chart.component.d.ts +0 -53
- package/lib/components/specializations/es-chart.component.d.ts +0 -71
- package/lib/components/specializations/es-line-chart.component.d.ts +0 -112
- package/lib/components/specializations/es-pie-chart.component.d.ts +0 -90
- package/lib/components/specializations/es-vertical-2d-chart.component.d.ts +0 -79
- package/lib/components/specializations/es-vertical-chart.component.d.ts +0 -74
- package/lib/components/specializations/es-vertical-stacked-chart.component.d.ts +0 -74
- package/lib/es-charts.module.d.ts +0 -18
- package/lib/models/EsChaartsModuleConfig.d.ts +0 -24
- package/lib/models/core/ChartDispatcher.d.ts +0 -46
- package/lib/models/core/ChartLoader.d.ts +0 -92
- package/lib/models/core/ChartThemes.d.ts +0 -23
- package/lib/models/data/AreaChartData.d.ts +0 -22
- package/lib/models/data/LineChartData.d.ts +0 -16
- package/lib/models/data/PagedChartData.d.ts +0 -23
- package/lib/models/data/PieChartData.d.ts +0 -13
- package/lib/models/data/Vertical2DChartData.d.ts +0 -27
- package/lib/models/data/VerticalChartData.d.ts +0 -13
- package/lib/models/data/VerticalStackedChartData.d.ts +0 -21
- package/lib/models/data/base/DateValue.d.ts +0 -9
- package/lib/models/data/base/KeyValue.d.ts +0 -9
- package/lib/models/data/base/KeyValueColor.d.ts +0 -11
- package/lib/models/data/base/Limit.d.ts +0 -14
- package/lib/models/data/base/LineSerie.d.ts +0 -28
- package/lib/models/settings/AreaChartSettings.d.ts +0 -10
- package/lib/models/settings/LineChartSettings.d.ts +0 -67
- package/lib/models/settings/PieChartSettings.d.ts +0 -43
- package/lib/models/settings/Vertical2DChartSettings.d.ts +0 -36
- package/lib/models/settings/VerticalChartSettings.d.ts +0 -31
- package/lib/models/settings/VerticalStackedChartSettings.d.ts +0 -31
- package/lib/models/settings/base/BaseInterval.d.ts +0 -13
- package/lib/models/settings/base/BaseSettings.d.ts +0 -67
- package/lib/models/settings/base/LegendPad.d.ts +0 -21
- package/lib/services/AreaChartService.d.ts +0 -32
- package/lib/services/LineChartService.d.ts +0 -48
- package/lib/services/PieChartService.d.ts +0 -27
- package/lib/services/Vertical2DChartService.d.ts +0 -39
- package/lib/services/VerticalChartService.d.ts +0 -33
- package/lib/services/VerticalStackedChartService.d.ts +0 -35
- package/lib/services/base/IBaseService.d.ts +0 -38
- package/lib/tokens.d.ts +0 -13
- package/public-api.d.ts +0 -35
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { NgZone, ElementRef } from '@angular/core';
|
|
2
|
-
import { DateService } from "@esfaenza/extensions";
|
|
3
|
-
import { LocalizationService } from '@esfaenza/localizations';
|
|
4
|
-
import { BaseAdapter } from '../../adapters/BaseAdapter';
|
|
5
|
-
import { BaseChartComponent } from '../base/base-chart.component';
|
|
6
|
-
import { ChartLoader } from "../../models/core/ChartLoader";
|
|
7
|
-
import { ChartDispatcher } from "../../models/core/ChartDispatcher";
|
|
8
|
-
import { LineChartSettings } from '../../models/settings/LineChartSettings';
|
|
9
|
-
import { LineChartData } from '../../models/data/LineChartData';
|
|
10
|
-
import { PagedChartData } from '../../models/data/PagedChartData';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Componente specifico per la graficazione di un grafico a Linea su un asse temporale
|
|
14
|
-
*/
|
|
15
|
-
export declare class EsLineChartComponent extends BaseChartComponent {
|
|
16
|
-
private adapter;
|
|
17
|
-
private dateService;
|
|
18
|
-
/**
|
|
19
|
-
* Dati specifici per il grafico o di un tipo tramutabile al tipo **LineChartData** col supporto del **BaseAdapter**
|
|
20
|
-
*/
|
|
21
|
-
Data: LineChartData | any;
|
|
22
|
-
/**
|
|
23
|
-
* Lista di Dati specifici per un grafico paginato o di cui ogni blocco dati è tramutabile al tipo **LineChartData** col supporto del **BaseAdapter**
|
|
24
|
-
*/
|
|
25
|
-
DataArray: PagedChartData<LineChartData>[] | PagedChartData<any>[];
|
|
26
|
-
/**
|
|
27
|
-
* Indica se la curva deve collegare direttamente un datapoint all'altro o se deve fare degli step
|
|
28
|
-
*/
|
|
29
|
-
Step: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Indica il numero massimo di datapoint visualizzabile in una singola vista del grafico. L'eccedenza viene raggruppata e verrà mostrata sullo zoom.
|
|
32
|
-
*
|
|
33
|
-
* ATTENZIONE: Utilizzando il sistema di default di raggruppamento di am-charts si rischia di tagliare via pezzi da serie molto ondulate
|
|
34
|
-
* in quanto il comportamento di default è quello di eliminare i datapoint che non ci stanno, non di interpolarli
|
|
35
|
-
*/
|
|
36
|
-
DataGroupBucketSize: number;
|
|
37
|
-
/**
|
|
38
|
-
* Soglia per controllare oltre che numero di datapoint il grafico deve iniziare ad effettuare raggruppamenti considerando l'Input **DataGroupBucketSize**
|
|
39
|
-
*/
|
|
40
|
-
DataGroupingThreshold: number;
|
|
41
|
-
/**
|
|
42
|
-
* Indica le dimnsioni, in pixel della linea del grafico
|
|
43
|
-
*/
|
|
44
|
-
StrokeSize: number;
|
|
45
|
-
/**
|
|
46
|
-
* Indica se sono permessi dei Gap fra un valore e l'altro.
|
|
47
|
-
*
|
|
48
|
-
* Normalmente quando ci sono dei buchi l'ultimo datapoint del buco viene collegato direttamente al primo datapoint disponibile.
|
|
49
|
-
*
|
|
50
|
-
* Impostando questo Input a true invece, posto di aver assegnato la variabile **interval** della classe **LineChartData**, è possibile
|
|
51
|
-
* far apparire il blocco di dati mancanti come un buco vero e proprio, senza alcun collegamento fra i due datapoint estremi
|
|
52
|
-
*/
|
|
53
|
-
AllowGaps: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Input che permette di rielaborare i dati del grafico per generare un solo Dataset
|
|
56
|
-
*
|
|
57
|
-
* Viene utilizzato semplicemente per dare un tooltip molto più bello/avanzato sullo scorrimentodel cursore all'interno del grafico
|
|
58
|
-
*/
|
|
59
|
-
MergeDatasets: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Indica se le date che arrivano all'asse X devono essere considerate "Istante finale" e aggiustate di conseguenza.
|
|
62
|
-
* Se non è valorizzata la variabile **interval** della classe **LineChartData** non ha alcun effetto
|
|
63
|
-
*
|
|
64
|
-
* Ad esempio, la data 16/07/2021 con intervallo orario verrebbe trasformata in 15/07/2021 24:00:00 (Ovviamente è utilizzato solo lato presentazione)
|
|
65
|
-
*/
|
|
66
|
-
FinalInstants: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Gestisce il minimo dell'asse Y
|
|
69
|
-
*/
|
|
70
|
-
Min: number;
|
|
71
|
-
/**
|
|
72
|
-
* Gestisce il massimo dell'asse Y
|
|
73
|
-
*/
|
|
74
|
-
Max: number;
|
|
75
|
-
/**
|
|
76
|
-
* Indica se effettuare il Fill della serie in modo da non vedere solo la linea ma proprio l'area sottessa completamente colorata
|
|
77
|
-
*/
|
|
78
|
-
Fill: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Indica se effettuare lo Stack della serie in modo da vedere tutte le linee una sopra l'altra. Implicitamente include anche il **Fill**
|
|
81
|
-
*/
|
|
82
|
-
Stacked: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* @ignore
|
|
85
|
-
*/
|
|
86
|
-
constructor(el: ElementRef, ChartLoader: ChartLoader, ChartDispatcher: ChartDispatcher, adapter: BaseAdapter, dateService: DateService, zone: NgZone, platformId: Object, ESC_DEBUG_MODE: boolean, ESC_ANIMATIONS: boolean, ESC_THEME: string, lc: LocalizationService);
|
|
87
|
-
/**
|
|
88
|
-
* Ottiene le proprietà specifiche per questa tipologia di grafico per cui serve rigraficare
|
|
89
|
-
*/
|
|
90
|
-
getSpecificPropertiesToCheck(): string[];
|
|
91
|
-
/**
|
|
92
|
-
* Ottiene i Settings (Ereditati dalla classe base, quindi del tipo generico **BaseSettings**) castati al tipo specifico per questo grafico
|
|
93
|
-
*
|
|
94
|
-
* @returns {LineChartSettings} Settings castati al tipo giusto
|
|
95
|
-
*/
|
|
96
|
-
getCastedSettings(): LineChartSettings;
|
|
97
|
-
/**
|
|
98
|
-
* Integra i Settings base con tutti gli Input specifici di questo grafico, dando priorità ai Settings se definiti
|
|
99
|
-
*
|
|
100
|
-
* @param {LineChartSettings} settingsCasted Settings castati al tipo giusto
|
|
101
|
-
*/
|
|
102
|
-
fillSpecificSettings(settingsCasted: LineChartSettings): void;
|
|
103
|
-
/**
|
|
104
|
-
* Effettua il rendering di questo grafico in base ai Settings
|
|
105
|
-
*
|
|
106
|
-
* @param {LineChartSettings} settingsCasted Impostazioni di graficazione
|
|
107
|
-
* @returns {LineChartService} La service utilizzata per il rendering nello stato subito successivo al rendering effettuato
|
|
108
|
-
*/
|
|
109
|
-
graphicate(settingsCasted: LineChartSettings): any;
|
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EsLineChartComponent, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsLineChartComponent, "es-line-chart", never, { "Data": { "alias": "Data"; "required": false; }; "DataArray": { "alias": "DataArray"; "required": false; }; "Step": { "alias": "Step"; "required": false; }; "DataGroupBucketSize": { "alias": "DataGroupBucketSize"; "required": false; }; "DataGroupingThreshold": { "alias": "DataGroupingThreshold"; "required": false; }; "StrokeSize": { "alias": "StrokeSize"; "required": false; }; "AllowGaps": { "alias": "AllowGaps"; "required": false; }; "MergeDatasets": { "alias": "MergeDatasets"; "required": false; }; "FinalInstants": { "alias": "FinalInstants"; "required": false; }; "Min": { "alias": "Min"; "required": false; }; "Max": { "alias": "Max"; "required": false; }; "Fill": { "alias": "Fill"; "required": false; }; "Stacked": { "alias": "Stacked"; "required": false; }; }, {}, never, never, false, never>;
|
|
112
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { NgZone, ElementRef } from '@angular/core';
|
|
2
|
-
import { LocalizationService } from '@esfaenza/localizations';
|
|
3
|
-
import { BaseAdapter } from '../../adapters/BaseAdapter';
|
|
4
|
-
import { BaseChartComponent } from '../base/base-chart.component';
|
|
5
|
-
import { ChartLoader } from "../../models/core/ChartLoader";
|
|
6
|
-
import { ChartDispatcher } from "../../models/core/ChartDispatcher";
|
|
7
|
-
import { PieChartSettings } from '../../models/settings/PieChartSettings';
|
|
8
|
-
import { PieChartData } from '../../models/data/PieChartData';
|
|
9
|
-
import { PagedChartData } from '../../models/data/PagedChartData';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Componente specifico per la graficazione di un grafico a Torta
|
|
13
|
-
*/
|
|
14
|
-
export declare class EsPieChartComponent extends BaseChartComponent {
|
|
15
|
-
private adapter;
|
|
16
|
-
/**
|
|
17
|
-
* Dati specifici per il grafico o di un tipo tramutabile al tipo **PieChartData** col supporto del **BaseAdapter**
|
|
18
|
-
*/
|
|
19
|
-
Data: PieChartData | any;
|
|
20
|
-
/**
|
|
21
|
-
* Lista di Dati specifici per un grafico paginato o di cui ogni blocco dati è tramutabile al tipo **PieChartData** col supporto del **BaseAdapter**
|
|
22
|
-
*/
|
|
23
|
-
DataArray: PagedChartData<PieChartData>[] | PagedChartData<any>[];
|
|
24
|
-
/**
|
|
25
|
-
* Indica se mostrare o meno le serie con percentuale a 0
|
|
26
|
-
*/
|
|
27
|
-
HideZeroes: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Indica se apparire in modalità 3D o 2D
|
|
30
|
-
*/
|
|
31
|
-
Mode3D: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Percentuale dell'altezza del grafico che viene utilizzata per creare il buco all'interno della ciambella **wink** **wink**
|
|
34
|
-
*/
|
|
35
|
-
DonutRadiusPercentage: number;
|
|
36
|
-
/**
|
|
37
|
-
* Indica se wrappare le label che non stanno nel contenitore
|
|
38
|
-
*/
|
|
39
|
-
LabelsWrap: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Indica se troncare le label che non stanno nel contenitore
|
|
42
|
-
*/
|
|
43
|
-
LabelsTruncate: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Indica la dimensione massima che possono assumere le label
|
|
46
|
-
*/
|
|
47
|
-
LabelsWidth: number;
|
|
48
|
-
/**
|
|
49
|
-
* Indica se mostrare o meno le labels
|
|
50
|
-
*/
|
|
51
|
-
LabelsVisible: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Indica se mostrare o meno le labels
|
|
54
|
-
*/
|
|
55
|
-
Total: {
|
|
56
|
-
Show: boolean;
|
|
57
|
-
TitleSize: number;
|
|
58
|
-
NumberSize: number;
|
|
59
|
-
UnitOfMeasure: string;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* @ignore
|
|
63
|
-
*/
|
|
64
|
-
constructor(el: ElementRef, ChartLoader: ChartLoader, ChartDispatcher: ChartDispatcher, adapter: BaseAdapter, zone: NgZone, platformId: Object, ESC_DEBUG_MODE: boolean, ESC_ANIMATIONS: boolean, ESC_THEME: string, lc: LocalizationService);
|
|
65
|
-
/**
|
|
66
|
-
* Ottiene le proprietà specifiche per questa tipologia di grafico per cui serve rigraficare
|
|
67
|
-
*/
|
|
68
|
-
getSpecificPropertiesToCheck(): string[];
|
|
69
|
-
/**
|
|
70
|
-
* Ottiene i Settings (Ereditati dalla classe base, quindi del tipo generico **BaseSettings**) castati al tipo specifico per questo grafico
|
|
71
|
-
*
|
|
72
|
-
* @returns {PieChartSettings} Settings castati al tipo giusto
|
|
73
|
-
*/
|
|
74
|
-
getCastedSettings(): PieChartSettings;
|
|
75
|
-
/**
|
|
76
|
-
* Integra i Settings base con tutti gli Input specifici di questo grafico, dando priorità ai Settings se definiti
|
|
77
|
-
*
|
|
78
|
-
* @param {PieChartSettings} settingsCasted Settings castati al tipo giusto
|
|
79
|
-
*/
|
|
80
|
-
fillSpecificSettings(settingsCasted: PieChartSettings): void;
|
|
81
|
-
/**
|
|
82
|
-
* Effettua il rendering di questo grafico in base ai Settings
|
|
83
|
-
*
|
|
84
|
-
* @param {PieChartSettings} settingsCasted Impostazioni di graficazione
|
|
85
|
-
* @returns {PieChartService} La service utilizzata per il rendering nello stato subito successivo al rendering effettuato
|
|
86
|
-
*/
|
|
87
|
-
graphicate(settingsCasted: PieChartSettings): any;
|
|
88
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EsPieChartComponent, never>;
|
|
89
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsPieChartComponent, "es-pie-chart", never, { "Data": { "alias": "Data"; "required": false; }; "DataArray": { "alias": "DataArray"; "required": false; }; "HideZeroes": { "alias": "HideZeroes"; "required": false; }; "Mode3D": { "alias": "Mode3D"; "required": false; }; "DonutRadiusPercentage": { "alias": "DonutRadiusPercentage"; "required": false; }; "LabelsWrap": { "alias": "LabelsWrap"; "required": false; }; "LabelsTruncate": { "alias": "LabelsTruncate"; "required": false; }; "LabelsWidth": { "alias": "LabelsWidth"; "required": false; }; "LabelsVisible": { "alias": "LabelsVisible"; "required": false; }; "Total": { "alias": "Total"; "required": false; }; }, {}, never, never, false, never>;
|
|
90
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { NgZone, ElementRef } from '@angular/core';
|
|
2
|
-
import { LocalizationService } from '@esfaenza/localizations';
|
|
3
|
-
import { BaseAdapter } from '../../adapters/BaseAdapter';
|
|
4
|
-
import { BaseChartComponent } from '../base/base-chart.component';
|
|
5
|
-
import { ChartLoader } from "../../models/core/ChartLoader";
|
|
6
|
-
import { ChartDispatcher } from "../../models/core/ChartDispatcher";
|
|
7
|
-
import { Vertical2DChartSettings } from '../../models/settings/Vertical2DChartSettings';
|
|
8
|
-
import { Vertical2DChartData } from '../../models/data/Vertical2DChartData';
|
|
9
|
-
import { PagedChartData } from '../../models/data/PagedChartData';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Componente specifico per la graficazione di un grafico a Barre con due dimensioni
|
|
13
|
-
*/
|
|
14
|
-
export declare class EsVertical2DChartComponent extends BaseChartComponent {
|
|
15
|
-
private adapter;
|
|
16
|
-
/**
|
|
17
|
-
* Dati specifici per il grafico o di un tipo tramutabile al tipo **Vertical2DChartData** col supporto del **BaseAdapter**
|
|
18
|
-
*/
|
|
19
|
-
Data: Vertical2DChartData | any;
|
|
20
|
-
/**
|
|
21
|
-
* Lista di Dati specifici per un grafico paginato o di cui ogni blocco dati è tramutabile al tipo **Vertical2DChartData** col supporto del **BaseAdapter**
|
|
22
|
-
*/
|
|
23
|
-
DataArray: PagedChartData<Vertical2DChartData>[] | PagedChartData<any>[];
|
|
24
|
-
/**
|
|
25
|
-
* Indica la percentuale di cella che la colonna andrà a riempire. Un valore pari a 100 riempirà la cella completamente
|
|
26
|
-
* e tutte le barre risulteranno appiccicate l'un l'altra
|
|
27
|
-
*/
|
|
28
|
-
ColumnWidthPercentage: number;
|
|
29
|
-
/**
|
|
30
|
-
* Indica il padding percentuale rispetto alla cella da lasciare fra un gruppo di barre e l'altro. Un valore pari a 0 indica la mancanza di
|
|
31
|
-
* spazio fra un gruppo e l'altro, un valore pari a 5 indica il 5% della dimensione della cella in cui appare il gruppo come padding a destra e sinistra
|
|
32
|
-
*/
|
|
33
|
-
GroupPaddingPercentage: number;
|
|
34
|
-
/**
|
|
35
|
-
* Indica le dimensioni massime della label associata a un gruppo di barre
|
|
36
|
-
*/
|
|
37
|
-
LabelWidth: number;
|
|
38
|
-
/**
|
|
39
|
-
* Indica la dimensione massima sotto la quale la label associata a un gruppo di barre si inclina cercando di occupare meno spazio
|
|
40
|
-
*/
|
|
41
|
-
LabelVerticalOrientationCutoffWidth: number;
|
|
42
|
-
/**
|
|
43
|
-
* Indica un offset orizzontale da applicare alla label associata a un gruppo di barre qualora fosse compressa a causa della mancanza di spazio
|
|
44
|
-
*/
|
|
45
|
-
LabelRightWhenCompressed: number;
|
|
46
|
-
/**
|
|
47
|
-
* Indica un offset verticale da applicare alla label associata a un gruppo di barre qualora fosse compressa a causa della mancanza di spazio
|
|
48
|
-
*/
|
|
49
|
-
LabelTopWhenCompressed: number;
|
|
50
|
-
/**
|
|
51
|
-
* @ignore
|
|
52
|
-
*/
|
|
53
|
-
constructor(el: ElementRef, ChartLoader: ChartLoader, ChartDispatcher: ChartDispatcher, adapter: BaseAdapter, zone: NgZone, platformId: Object, ESC_DEBUG_MODE: boolean, ESC_ANIMATIONS: boolean, ESC_THEME: string, lc: LocalizationService);
|
|
54
|
-
/**
|
|
55
|
-
* Ottiene le proprietà specifiche per questa tipologia di grafico per cui serve rigraficare
|
|
56
|
-
*/
|
|
57
|
-
getSpecificPropertiesToCheck(): string[];
|
|
58
|
-
/**
|
|
59
|
-
* Ottiene i Settings (Ereditati dalla classe base, quindi del tipo generico **BaseSettings**) castati al tipo specifico per questo grafico
|
|
60
|
-
*
|
|
61
|
-
* @returns {Vertical2DChartSettings} Settings castati al tipo giusto
|
|
62
|
-
*/
|
|
63
|
-
getCastedSettings(): Vertical2DChartSettings;
|
|
64
|
-
/**
|
|
65
|
-
* Integra i Settings base con tutti gli Input specifici di questo grafico, dando priorità ai Settings se definiti
|
|
66
|
-
*
|
|
67
|
-
* @param {Vertical2DChartSettings} settingsCasted Settings castati al tipo giusto
|
|
68
|
-
*/
|
|
69
|
-
fillSpecificSettings(settingsCasted: Vertical2DChartSettings): void;
|
|
70
|
-
/**
|
|
71
|
-
* Effettua il rendering di questo grafico in base ai Settings
|
|
72
|
-
*
|
|
73
|
-
* @param {Vertical2DChartSettings} settingsCasted Impostazioni di graficazione
|
|
74
|
-
* @returns {Vertical2DChartService} La service utilizzata per il rendering nello stato subito successivo al rendering effettuato
|
|
75
|
-
*/
|
|
76
|
-
graphicate(settingsCasted: Vertical2DChartSettings): any;
|
|
77
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EsVertical2DChartComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsVertical2DChartComponent, "es-vertical-2d-chart", never, { "Data": { "alias": "Data"; "required": false; }; "DataArray": { "alias": "DataArray"; "required": false; }; "ColumnWidthPercentage": { "alias": "ColumnWidthPercentage"; "required": false; }; "GroupPaddingPercentage": { "alias": "GroupPaddingPercentage"; "required": false; }; "LabelWidth": { "alias": "LabelWidth"; "required": false; }; "LabelVerticalOrientationCutoffWidth": { "alias": "LabelVerticalOrientationCutoffWidth"; "required": false; }; "LabelRightWhenCompressed": { "alias": "LabelRightWhenCompressed"; "required": false; }; "LabelTopWhenCompressed": { "alias": "LabelTopWhenCompressed"; "required": false; }; }, {}, never, never, false, never>;
|
|
79
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { NgZone, ElementRef } from '@angular/core';
|
|
2
|
-
import { LocalizationService } from '@esfaenza/localizations';
|
|
3
|
-
import { BaseAdapter } from '../../adapters/BaseAdapter';
|
|
4
|
-
import { BaseChartComponent } from '../base/base-chart.component';
|
|
5
|
-
import { ChartLoader } from "../../models/core/ChartLoader";
|
|
6
|
-
import { ChartDispatcher } from "../../models/core/ChartDispatcher";
|
|
7
|
-
import { VerticalChartSettings } from '../../models/settings/VerticalChartSettings';
|
|
8
|
-
import { VerticalChartData } from '../../models/data/VerticalChartData';
|
|
9
|
-
import { PagedChartData } from '../../models/data/PagedChartData';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Componente specifico per la graficazione di un grafico a Barre
|
|
13
|
-
*/
|
|
14
|
-
export declare class EsVerticalChartComponent extends BaseChartComponent {
|
|
15
|
-
private adapter;
|
|
16
|
-
/**
|
|
17
|
-
* Dati specifici per il grafico o di un tipo tramutabile al tipo **VerticalChartData** col supporto del **BaseAdapter**
|
|
18
|
-
*/
|
|
19
|
-
Data: VerticalChartData | any;
|
|
20
|
-
/**
|
|
21
|
-
* Lista di Dati specifici per un grafico paginato o di cui ogni blocco dati è tramutabile al tipo **VerticalChartData** col supporto del **BaseAdapter**
|
|
22
|
-
*/
|
|
23
|
-
DataArray: PagedChartData<VerticalChartData>[] | PagedChartData<any>[];
|
|
24
|
-
/**
|
|
25
|
-
* Indica la percentuale di cella che la colonna andrà a riempire. Un valore pari a 100 riempirà la cella completamente
|
|
26
|
-
* e tutte le barre risulteranno appiccicate l'un l'altra
|
|
27
|
-
*/
|
|
28
|
-
ColumnWidthPercentage: number;
|
|
29
|
-
/**
|
|
30
|
-
* Indica le dimensioni massime della label associata a un gruppo di barre
|
|
31
|
-
*/
|
|
32
|
-
LabelWidth: number;
|
|
33
|
-
/**
|
|
34
|
-
* Indica la dimensione massima sotto la quale la label associata a un gruppo di barre si inclina cercando di occupare meno spazio
|
|
35
|
-
*/
|
|
36
|
-
LabelVerticalOrientationCutoffWidth: number;
|
|
37
|
-
/**
|
|
38
|
-
* Indica un offset orizzontale da applicare alla label associata a un gruppo di barre qualora fosse compressa a causa della mancanza di spazio
|
|
39
|
-
*/
|
|
40
|
-
LabelRightWhenCompressed: number;
|
|
41
|
-
/**
|
|
42
|
-
* Indica un offset verticale da applicare alla label associata a un gruppo di barre qualora fosse compressa a causa della mancanza di spazio
|
|
43
|
-
*/
|
|
44
|
-
LabelTopWhenCompressed: number;
|
|
45
|
-
/**
|
|
46
|
-
* @ignore
|
|
47
|
-
*/
|
|
48
|
-
constructor(el: ElementRef, ChartLoader: ChartLoader, ChartDispatcher: ChartDispatcher, adapter: BaseAdapter, zone: NgZone, platformId: Object, ESC_DEBUG_MODE: boolean, ESC_ANIMATIONS: boolean, ESC_THEME: string, lc: LocalizationService);
|
|
49
|
-
/**
|
|
50
|
-
* Ottiene le proprietà specifiche per questa tipologia di grafico per cui serve rigraficare
|
|
51
|
-
*/
|
|
52
|
-
getSpecificPropertiesToCheck(): string[];
|
|
53
|
-
/**
|
|
54
|
-
* Ottiene i Settings (Ereditati dalla classe base, quindi del tipo generico **BaseSettings**) castati al tipo specifico per questo grafico
|
|
55
|
-
*
|
|
56
|
-
* @returns {VerticalChartSettings} Settings castati al tipo giusto
|
|
57
|
-
*/
|
|
58
|
-
getCastedSettings(): VerticalChartSettings;
|
|
59
|
-
/**
|
|
60
|
-
* Integra i Settings base con tutti gli Input specifici di questo grafico, dando priorità ai Settings se definiti
|
|
61
|
-
*
|
|
62
|
-
* @param {VerticalChartSettings} settingsCasted Settings castati al tipo giusto
|
|
63
|
-
*/
|
|
64
|
-
fillSpecificSettings(settingsCasted: VerticalChartSettings): void;
|
|
65
|
-
/**
|
|
66
|
-
* Effettua il rendering di questo grafico in base ai Settings
|
|
67
|
-
*
|
|
68
|
-
* @param {VerticalChartSettings} settingsCasted Impostazioni di graficazione
|
|
69
|
-
* @returns {VerticalChartService} La service utilizzata per il rendering nello stato subito successivo al rendering effettuato
|
|
70
|
-
*/
|
|
71
|
-
graphicate(settingsCasted: VerticalChartSettings): any;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EsVerticalChartComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsVerticalChartComponent, "es-vertical-chart", never, { "Data": { "alias": "Data"; "required": false; }; "DataArray": { "alias": "DataArray"; "required": false; }; "ColumnWidthPercentage": { "alias": "ColumnWidthPercentage"; "required": false; }; "LabelWidth": { "alias": "LabelWidth"; "required": false; }; "LabelVerticalOrientationCutoffWidth": { "alias": "LabelVerticalOrientationCutoffWidth"; "required": false; }; "LabelRightWhenCompressed": { "alias": "LabelRightWhenCompressed"; "required": false; }; "LabelTopWhenCompressed": { "alias": "LabelTopWhenCompressed"; "required": false; }; }, {}, never, never, false, never>;
|
|
74
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { NgZone, ElementRef } from '@angular/core';
|
|
2
|
-
import { LocalizationService } from '@esfaenza/localizations';
|
|
3
|
-
import { BaseAdapter } from '../../adapters/BaseAdapter';
|
|
4
|
-
import { BaseChartComponent } from '../base/base-chart.component';
|
|
5
|
-
import { ChartLoader } from "../../models/core/ChartLoader";
|
|
6
|
-
import { ChartDispatcher } from "../../models/core/ChartDispatcher";
|
|
7
|
-
import { VerticalStackedChartSettings } from '../../models/settings/VerticalStackedChartSettings';
|
|
8
|
-
import { VerticalStackedChartData } from '../../models/data/VerticalStackedChartData';
|
|
9
|
-
import { PagedChartData } from '../../models/data/PagedChartData';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Componente specifico per la graficazione di un grafico a Barre in modalità Stacked (una serie sopra l'altra)
|
|
13
|
-
*/
|
|
14
|
-
export declare class EsVerticalStackedChartComponent extends BaseChartComponent {
|
|
15
|
-
private adapter;
|
|
16
|
-
/**
|
|
17
|
-
* Dati specifici per il grafico o di un tipo tramutabile al tipo **VerticalStackedChartData** col supporto del **BaseAdapter**
|
|
18
|
-
*/
|
|
19
|
-
Data: VerticalStackedChartData | any;
|
|
20
|
-
/**
|
|
21
|
-
* Lista di Dati specifici per un grafico paginato o di cui ogni blocco dati è tramutabile al tipo **VerticalStackedChartData** col supporto del **BaseAdapter**
|
|
22
|
-
*/
|
|
23
|
-
DataArray: PagedChartData<VerticalStackedChartData>[] | PagedChartData<any>[];
|
|
24
|
-
/**
|
|
25
|
-
* Indica la percentuale di cella che la colonna andrà a riempire. Un valore pari a 100 riempirà la cella completamente
|
|
26
|
-
* e tutte le barre risulteranno appiccicate l'un l'altra
|
|
27
|
-
*/
|
|
28
|
-
ColumnWidthPercentage: number;
|
|
29
|
-
/**
|
|
30
|
-
* Indica le dimensioni massime della label associata a un gruppo di barre
|
|
31
|
-
*/
|
|
32
|
-
LabelWidth: number;
|
|
33
|
-
/**
|
|
34
|
-
* Indica la dimensione massima sotto la quale la label associata a un gruppo di barre si inclina cercando di occupare meno spazio
|
|
35
|
-
*/
|
|
36
|
-
LabelVerticalOrientationCutoffWidth: number;
|
|
37
|
-
/**
|
|
38
|
-
* Indica un offset orizzontale da applicare alla label associata a un gruppo di barre qualora fosse compressa a causa della mancanza di spazio
|
|
39
|
-
*/
|
|
40
|
-
LabelRightWhenCompressed: number;
|
|
41
|
-
/**
|
|
42
|
-
* Indica un offset verticale da applicare alla label associata a un gruppo di barre qualora fosse compressa a causa della mancanza di spazio
|
|
43
|
-
*/
|
|
44
|
-
LabelTopWhenCompressed: number;
|
|
45
|
-
/**
|
|
46
|
-
* @ignore
|
|
47
|
-
*/
|
|
48
|
-
constructor(el: ElementRef, ChartLoader: ChartLoader, ChartDispatcher: ChartDispatcher, adapter: BaseAdapter, zone: NgZone, platformId: Object, ESC_DEBUG_MODE: boolean, ESC_ANIMATIONS: boolean, ESC_THEME: string, lc: LocalizationService);
|
|
49
|
-
/**
|
|
50
|
-
* Ottiene le proprietà specifiche per questa tipologia di grafico per cui serve rigraficare
|
|
51
|
-
*/
|
|
52
|
-
getSpecificPropertiesToCheck(): string[];
|
|
53
|
-
/**
|
|
54
|
-
* Ottiene i Settings (Ereditati dalla classe base, quindi del tipo generico **BaseSettings**) castati al tipo specifico per questo grafico
|
|
55
|
-
*
|
|
56
|
-
* @returns {VerticalStackedChartSettings} Settings castati al tipo giusto
|
|
57
|
-
*/
|
|
58
|
-
getCastedSettings(): VerticalStackedChartSettings;
|
|
59
|
-
/**
|
|
60
|
-
* Integra i Settings base con tutti gli Input specifici di questo grafico, dando priorità ai Settings se definiti
|
|
61
|
-
*
|
|
62
|
-
* @param {VerticalStackedChartSettings} settingsCasted Settings castati al tipo giusto
|
|
63
|
-
*/
|
|
64
|
-
fillSpecificSettings(settingsCasted: VerticalStackedChartSettings): void;
|
|
65
|
-
/**
|
|
66
|
-
* Effettua il rendering di questo grafico in base ai Settings
|
|
67
|
-
*
|
|
68
|
-
* @param {VerticalStackedChartSettings} settingsCasted Impostazioni di graficazione
|
|
69
|
-
* @returns {VerticalStackedChartService} La service utilizzata per il rendering nello stato subito successivo al rendering effettuato
|
|
70
|
-
*/
|
|
71
|
-
graphicate(settingsCasted: VerticalStackedChartSettings): any;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EsVerticalStackedChartComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsVerticalStackedChartComponent, "es-vertical-stacked-chart", never, { "Data": { "alias": "Data"; "required": false; }; "DataArray": { "alias": "DataArray"; "required": false; }; "ColumnWidthPercentage": { "alias": "ColumnWidthPercentage"; "required": false; }; "LabelWidth": { "alias": "LabelWidth"; "required": false; }; "LabelVerticalOrientationCutoffWidth": { "alias": "LabelVerticalOrientationCutoffWidth"; "required": false; }; "LabelRightWhenCompressed": { "alias": "LabelRightWhenCompressed"; "required": false; }; "LabelTopWhenCompressed": { "alias": "LabelTopWhenCompressed"; "required": false; }; }, {}, never, never, false, never>;
|
|
74
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { EsChartsModuleConfig } from './models/EsChaartsModuleConfig';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./components/specializations/es-chart.component";
|
|
5
|
-
import * as i2 from "./components/specializations/es-line-chart.component";
|
|
6
|
-
import * as i3 from "./components/specializations/es-pie-chart.component";
|
|
7
|
-
import * as i4 from "./components/specializations/es-vertical-2d-chart.component";
|
|
8
|
-
import * as i5 from "./components/specializations/es-vertical-chart.component";
|
|
9
|
-
import * as i6 from "./components/specializations/es-vertical-stacked-chart.component";
|
|
10
|
-
import * as i7 from "./components/chart-pager/chart-pager.component";
|
|
11
|
-
import * as i8 from "./components/specializations/es-area-chart.component";
|
|
12
|
-
import * as i9 from "@angular/common";
|
|
13
|
-
export declare class EsChartsModule {
|
|
14
|
-
static forRoot(config?: EsChartsModuleConfig): ModuleWithProviders<EsChartsModule>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EsChartsModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EsChartsModule, [typeof i1.EsChartComponent, typeof i2.EsLineChartComponent, typeof i3.EsPieChartComponent, typeof i4.EsVertical2DChartComponent, typeof i5.EsVerticalChartComponent, typeof i6.EsVerticalStackedChartComponent, typeof i7.PageChartSelector, typeof i8.EsAreaChartComponent], [typeof i9.CommonModule], [typeof i1.EsChartComponent, typeof i2.EsLineChartComponent, typeof i3.EsPieChartComponent, typeof i4.EsVertical2DChartComponent, typeof i5.EsVerticalChartComponent, typeof i6.EsVerticalStackedChartComponent, typeof i7.PageChartSelector, typeof i8.EsAreaChartComponent]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EsChartsModule>;
|
|
18
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Classe di configurazione per il modulo entry point della libreria
|
|
4
|
-
*/
|
|
5
|
-
export declare class EsChartsModuleConfig {
|
|
6
|
-
/**
|
|
7
|
-
* Utilizzo o meno di default delle animazioni nei grafici
|
|
8
|
-
*/
|
|
9
|
-
animations?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Tema di default per i grafici
|
|
12
|
-
*/
|
|
13
|
-
theme?: 'spiritedaway' | 'moonrisekingdom' | 'frozen' | 'dark' | 'kelly' | 'material' | 'dataviz' | 'none';
|
|
14
|
-
/**
|
|
15
|
-
* Adapter per trasformare i dati dei grafici da una versione precedente (con libreria di terze parti) ad una versione digeribile da questa libreria
|
|
16
|
-
*
|
|
17
|
-
* Deve implementare l'interfaccia IBaseAdapter
|
|
18
|
-
*/
|
|
19
|
-
adapter?: Type<any>;
|
|
20
|
-
/**
|
|
21
|
-
* Serve per eventualmente attivare la modalità di debug in cui i messaggi vengono tutti scritti a console
|
|
22
|
-
*/
|
|
23
|
-
debugMode?: boolean;
|
|
24
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Classe che si occupa del dispatch delle operazioni di rendering dei grafici utilizzando una coda per permettere ad ogni grafico di avere temi e localizzazione custom
|
|
4
|
-
*/
|
|
5
|
-
export declare class ChartDispatcher {
|
|
6
|
-
private logs;
|
|
7
|
-
/**
|
|
8
|
-
* Coda di inizializzazioni ancora da eseguire. Quando questa è vuota significa che nessuno sta creando grafici
|
|
9
|
-
*/
|
|
10
|
-
private Initializations;
|
|
11
|
-
/**
|
|
12
|
-
* Lista dei grafici inizializzati e attivi in un dato momento (viene registrata la proprietà **name**). Non è possibile registrare due grafici con lo stesso identificativo
|
|
13
|
-
*/
|
|
14
|
-
private InitializedGraphs;
|
|
15
|
-
/**
|
|
16
|
-
* @ignore
|
|
17
|
-
*/
|
|
18
|
-
constructor(logs: boolean);
|
|
19
|
-
/**
|
|
20
|
-
* Registra un grafico da visualizzare insieme alla propria funzione di creazione. Quest'ultima sarà differita fino a che tutti i grafici
|
|
21
|
-
* precedentemente registati non hanno finito la fase di inizializzazione
|
|
22
|
-
*
|
|
23
|
-
* @param {string} name Identificativo del grafico da registrare
|
|
24
|
-
* @param {Function} chartCreationFunction Funzione che fisicamente dovrà occuparsi della creazione del grafico
|
|
25
|
-
*/
|
|
26
|
-
register(name: string, chartCreationFunction: Function): void;
|
|
27
|
-
/**
|
|
28
|
-
* Deregistra un grafico presente. Chiamata generalmente al dispose del grafico in questione quando non dev'essere più mostrato nella pagina corrente
|
|
29
|
-
*
|
|
30
|
-
* @param {string} name Identificativo del grafico da deregistrare
|
|
31
|
-
*/
|
|
32
|
-
deregisterGraph(name: string): void;
|
|
33
|
-
/**
|
|
34
|
-
* Metodo che esegue in maniera sequenziale le funzioni di inizializzazione dei grafici finché presenti
|
|
35
|
-
* in modo che nessun grafico possa essere inizializzato contemporaneamente ad un altro.
|
|
36
|
-
*
|
|
37
|
-
* Questo è il punto chiave che permette di avere per ogni grafico temi e locale differenti
|
|
38
|
-
*/
|
|
39
|
-
private drainInitQueues;
|
|
40
|
-
/**
|
|
41
|
-
* @ignore
|
|
42
|
-
*/
|
|
43
|
-
private log;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChartDispatcher, never>;
|
|
45
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ChartDispatcher>;
|
|
46
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Classe di supporto al caricamento dinamico dei vari pezzi di amcharts che mi servono per il grafico (temi, locali, ecc...)
|
|
4
|
-
*
|
|
5
|
-
* Essenzialmente ogni volta che viene creato un grafico, questo acquisisce il tema e il locale applicato IN QUEL MOMENTO,
|
|
6
|
-
* questo significa che per creare due grafici con temi diversi bisogna fare:
|
|
7
|
-
*
|
|
8
|
-
* 1) Caricamento tema 1
|
|
9
|
-
*
|
|
10
|
-
* 2) Creazione grafico 1
|
|
11
|
-
*
|
|
12
|
-
* 3) Scaricamento tema 1
|
|
13
|
-
*
|
|
14
|
-
* 3) Caricamento tema 2
|
|
15
|
-
*
|
|
16
|
-
* 4) Creazione grafico 2
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export declare class ChartLoader {
|
|
20
|
-
private logs;
|
|
21
|
-
/**
|
|
22
|
-
* Indica se attualmente ho le animazioni caricate in modo da non ricaricarle inutilmente
|
|
23
|
-
*/
|
|
24
|
-
private AnimationsAreLoaded;
|
|
25
|
-
/**
|
|
26
|
-
* Indica l'ultimo tema caricato in modo da non ricaricarlo inutilmente qualora il prossimo grafico da creare richieda lo stesso tema
|
|
27
|
-
*/
|
|
28
|
-
private LastLoadedTheme;
|
|
29
|
-
/**
|
|
30
|
-
* Cache dei temi (moduli caricati dinamicamente)
|
|
31
|
-
*/
|
|
32
|
-
private themeCache;
|
|
33
|
-
/**
|
|
34
|
-
* Cache delle localizzazioni (moduli caricati dinamicamente)
|
|
35
|
-
*/
|
|
36
|
-
private localizationCache;
|
|
37
|
-
/**
|
|
38
|
-
* @ignore
|
|
39
|
-
*/
|
|
40
|
-
constructor(logs: boolean);
|
|
41
|
-
/**
|
|
42
|
-
* Applica il tema con le animazioni all'istanza globale di amCharts
|
|
43
|
-
*
|
|
44
|
-
* @param {Object} chartsCore Istanza globale di amCharts
|
|
45
|
-
* @returns {Promise} Promise che identifica la fine del caricamento
|
|
46
|
-
*/
|
|
47
|
-
applyAnimations(chartsCore: any): Promise<any>;
|
|
48
|
-
/**
|
|
49
|
-
* De-applica il tema con le animazioni dall'istanza globale di amCharts
|
|
50
|
-
*
|
|
51
|
-
* @param {Object} chartsCore Istanza globale di amCharts
|
|
52
|
-
* @returns {Promise} Promise che identifica la fine dello scarico
|
|
53
|
-
*/
|
|
54
|
-
unapplyAnimations(chartsCore: any): Promise<any>;
|
|
55
|
-
/**
|
|
56
|
-
* Applica il tema specificato all'istanza globale di amCharts
|
|
57
|
-
*
|
|
58
|
-
* @param {Object} chartsCore Istanza globale di amCharts
|
|
59
|
-
* @param {'spiritedaway' | 'moonrisekingdom' | 'frozen' | 'dark' | 'kelly' | 'material' | 'dataviz' | 'none'} theme Tema da applicare
|
|
60
|
-
* @returns {Promise} Promise che identifica la fine del caricamento
|
|
61
|
-
*/
|
|
62
|
-
applyTheme(chartsCore: any, theme: 'spiritedaway' | 'moonrisekingdom' | 'frozen' | 'dark' | 'kelly' | 'material' | 'dataviz' | 'none'): Promise<any>;
|
|
63
|
-
/**
|
|
64
|
-
* De-applica il tema precedente dall'istanza globale di amCharts
|
|
65
|
-
*
|
|
66
|
-
* @param {Object} chartsCore Istanza globale di amCharts
|
|
67
|
-
*/
|
|
68
|
-
unapplyPreviousTheme(chartsCore: any): void;
|
|
69
|
-
/**
|
|
70
|
-
* Applica il locale specificato all'istanza specifica del grafico
|
|
71
|
-
*
|
|
72
|
-
* @param {amCharts.Chart} chart Istanza specifica del grafico a cui applicare il locale
|
|
73
|
-
* @param {string} locale Locale da applicare
|
|
74
|
-
* @returns {Promise} Promise che identifica la fine del caricamento
|
|
75
|
-
*/
|
|
76
|
-
applyLocale(chart: any, locale: string): Promise<any>;
|
|
77
|
-
/**
|
|
78
|
-
* Permette di importare, se serve un dato tema o localizzazione
|
|
79
|
-
*
|
|
80
|
-
* @param {'lang' | 'themes'} what Oggetto da importare, se localizzazione o tema
|
|
81
|
-
* @param {string} item Chiave dell'oggetto da importare
|
|
82
|
-
*
|
|
83
|
-
* @returns {Promise} Promise che identifica la fine del caricamento
|
|
84
|
-
*/
|
|
85
|
-
importIfNeeded(what: 'lang' | 'themes', item: string): Promise<any>;
|
|
86
|
-
/**
|
|
87
|
-
* @ignore
|
|
88
|
-
*/
|
|
89
|
-
log(text: string): void;
|
|
90
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChartLoader, never>;
|
|
91
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ChartLoader>;
|
|
92
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Classe per enumerare i temi disponibili nella libreria
|
|
3
|
-
*/
|
|
4
|
-
export declare class ChartThemes {
|
|
5
|
-
get spiritedaway(): string;
|
|
6
|
-
get moonrisekingdom(): string;
|
|
7
|
-
get frozen(): string;
|
|
8
|
-
get dark(): string;
|
|
9
|
-
get kelly(): string;
|
|
10
|
-
get material(): string;
|
|
11
|
-
get dataviz(): string;
|
|
12
|
-
get none(): string;
|
|
13
|
-
get animated(): string;
|
|
14
|
-
static get spiritedaway(): string;
|
|
15
|
-
static get moonrisekingdom(): string;
|
|
16
|
-
static get frozen(): string;
|
|
17
|
-
static get dark(): string;
|
|
18
|
-
static get kelly(): string;
|
|
19
|
-
static get material(): string;
|
|
20
|
-
static get dataviz(): string;
|
|
21
|
-
static get none(): string;
|
|
22
|
-
static get animated(): string;
|
|
23
|
-
}
|