@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.
Files changed (50) hide show
  1. package/fesm2022/esfaenza-es-charts.mjs +40 -40
  2. package/fesm2022/esfaenza-es-charts.mjs.map +1 -1
  3. package/index.d.ts +1676 -3
  4. package/package.json +3 -3
  5. package/lib/adapters/BaseAdapter.d.ts +0 -40
  6. package/lib/adapters/IBaseAdapter.d.ts +0 -35
  7. package/lib/components/base/base-chart.component.d.ts +0 -304
  8. package/lib/components/chart-pager/chart-pager.component.d.ts +0 -70
  9. package/lib/components/specializations/es-area-chart.component.d.ts +0 -53
  10. package/lib/components/specializations/es-chart.component.d.ts +0 -71
  11. package/lib/components/specializations/es-line-chart.component.d.ts +0 -112
  12. package/lib/components/specializations/es-pie-chart.component.d.ts +0 -90
  13. package/lib/components/specializations/es-vertical-2d-chart.component.d.ts +0 -79
  14. package/lib/components/specializations/es-vertical-chart.component.d.ts +0 -74
  15. package/lib/components/specializations/es-vertical-stacked-chart.component.d.ts +0 -74
  16. package/lib/es-charts.module.d.ts +0 -18
  17. package/lib/models/EsChaartsModuleConfig.d.ts +0 -24
  18. package/lib/models/core/ChartDispatcher.d.ts +0 -46
  19. package/lib/models/core/ChartLoader.d.ts +0 -92
  20. package/lib/models/core/ChartThemes.d.ts +0 -23
  21. package/lib/models/data/AreaChartData.d.ts +0 -22
  22. package/lib/models/data/LineChartData.d.ts +0 -16
  23. package/lib/models/data/PagedChartData.d.ts +0 -23
  24. package/lib/models/data/PieChartData.d.ts +0 -13
  25. package/lib/models/data/Vertical2DChartData.d.ts +0 -27
  26. package/lib/models/data/VerticalChartData.d.ts +0 -13
  27. package/lib/models/data/VerticalStackedChartData.d.ts +0 -21
  28. package/lib/models/data/base/DateValue.d.ts +0 -9
  29. package/lib/models/data/base/KeyValue.d.ts +0 -9
  30. package/lib/models/data/base/KeyValueColor.d.ts +0 -11
  31. package/lib/models/data/base/Limit.d.ts +0 -14
  32. package/lib/models/data/base/LineSerie.d.ts +0 -28
  33. package/lib/models/settings/AreaChartSettings.d.ts +0 -10
  34. package/lib/models/settings/LineChartSettings.d.ts +0 -67
  35. package/lib/models/settings/PieChartSettings.d.ts +0 -43
  36. package/lib/models/settings/Vertical2DChartSettings.d.ts +0 -36
  37. package/lib/models/settings/VerticalChartSettings.d.ts +0 -31
  38. package/lib/models/settings/VerticalStackedChartSettings.d.ts +0 -31
  39. package/lib/models/settings/base/BaseInterval.d.ts +0 -13
  40. package/lib/models/settings/base/BaseSettings.d.ts +0 -67
  41. package/lib/models/settings/base/LegendPad.d.ts +0 -21
  42. package/lib/services/AreaChartService.d.ts +0 -32
  43. package/lib/services/LineChartService.d.ts +0 -48
  44. package/lib/services/PieChartService.d.ts +0 -27
  45. package/lib/services/Vertical2DChartService.d.ts +0 -39
  46. package/lib/services/VerticalChartService.d.ts +0 -33
  47. package/lib/services/VerticalStackedChartService.d.ts +0 -35
  48. package/lib/services/base/IBaseService.d.ts +0 -38
  49. package/lib/tokens.d.ts +0 -13
  50. package/public-api.d.ts +0 -35
@@ -1,39 +0,0 @@
1
- import { IBaseService } from './base/IBaseService';
2
- import { BaseAdapter } from '../adapters/BaseAdapter';
3
- import { Vertical2DChartData } from '../models/data/Vertical2DChartData';
4
- import { Vertical2DChartSettings } from '../models/settings/Vertical2DChartSettings';
5
- import * as am4charts from "@amcharts/amcharts4/charts";
6
- /**
7
- * Classe il cui unico scopo è gestire il setup e rendering di un Vertical2DChart
8
- */
9
- export declare class Vertical2DChartService implements IBaseService<am4charts.XYChart> {
10
- Adapter: BaseAdapter;
11
- /** @ignore */
12
- ChartInstance: am4charts.XYChart;
13
- /** @ignore */
14
- private DefaultGroupPaddingPercentage;
15
- /** @ignore */
16
- private dangerZone;
17
- /** @ignore */
18
- private LabelWidth;
19
- /** @ignore */
20
- private LabelRightWhenCompressed;
21
- /** @ignore */
22
- private LabelTopWhenCompressed;
23
- /** @ignore */
24
- private DefaultColumnWidthPercentage;
25
- /** @ignore */
26
- constructor(Adapter: BaseAdapter);
27
- /**
28
- * Metodo che data una coppia Dati - Impostazioni li utilizza per creare e visualizzare un Vertical2DChart
29
- */
30
- graphicate(data: Vertical2DChartData | any, settings: Vertical2DChartSettings): IBaseService<am4charts.XYChart>;
31
- /** @ignore */
32
- setSelection(from: Date, to: Date): void;
33
- /** @ignore */
34
- refreshData(data: Vertical2DChartData | any): void;
35
- /** @ignore */
36
- private createSeries;
37
- /** @ignore */
38
- private arrangeColumns;
39
- }
@@ -1,33 +0,0 @@
1
- import { IBaseService } from './base/IBaseService';
2
- import { BaseAdapter } from '../adapters/BaseAdapter';
3
- import { VerticalChartData } from '../models/data/VerticalChartData';
4
- import { VerticalChartSettings } from '../models/settings/VerticalChartSettings';
5
- import * as am4charts from "@amcharts/amcharts4/charts";
6
- /**
7
- * Classe il cui unico scopo è gestire il setup e rendering di un VerticalChart
8
- */
9
- export declare class VerticalChartService implements IBaseService<am4charts.XYChart> {
10
- Adapter: BaseAdapter;
11
- /** @ignore */
12
- ChartInstance: am4charts.XYChart;
13
- /** @ignore */
14
- private dangerZone;
15
- /** @ignore */
16
- private LabelWidth;
17
- /** @ignore */
18
- private LabelRightWhenCompressed;
19
- /** @ignore */
20
- private LabelTopWhenCompressed;
21
- /** @ignore */
22
- private DefaultColumnWidthPercentage;
23
- /** @ignore */
24
- constructor(Adapter: BaseAdapter);
25
- /**
26
- * Metodo che data una coppia Dati - Impostazioni li utilizza per creare e visualizzare un VerticalChart
27
- */
28
- graphicate(data: VerticalChartData | any, settings: VerticalChartSettings): IBaseService<am4charts.XYChart>;
29
- /** @ignore */
30
- setSelection(from: Date, to: Date): void;
31
- /** @ignore */
32
- refreshData(data: VerticalChartData | any): void;
33
- }
@@ -1,35 +0,0 @@
1
- import { IBaseService } from './base/IBaseService';
2
- import { BaseAdapter } from '../adapters/BaseAdapter';
3
- import { VerticalStackedChartData } from '../models/data/VerticalStackedChartData';
4
- import { VerticalStackedChartSettings } from '../models/settings/VerticalStackedChartSettings';
5
- import * as am4charts from "@amcharts/amcharts4/charts";
6
- /**
7
- * Classe il cui unico scopo è gestire il setup e rendering di un VerticalStackedChart
8
- */
9
- export declare class VerticalStackedChartService implements IBaseService<am4charts.XYChart> {
10
- Adapter: BaseAdapter;
11
- /** @ignore */
12
- ChartInstance: am4charts.XYChart;
13
- /** @ignore */
14
- private dangerZone;
15
- /** @ignore */
16
- private LabelWidth;
17
- /** @ignore */
18
- private LabelRightWhenCompressed;
19
- /** @ignore */
20
- private LabelTopWhenCompressed;
21
- /** @ignore */
22
- private DefaultColumnWidthPercentage;
23
- /** @ignore */
24
- constructor(Adapter: BaseAdapter);
25
- /**
26
- * Metodo che data una coppia Dati - Impostazioni li utilizza per creare e visualizzare un VerticalStackedChart
27
- */
28
- graphicate(data: VerticalStackedChartData | any, settings: VerticalStackedChartSettings): IBaseService<am4charts.XYChart>;
29
- /** @ignore */
30
- setSelection(from: Date, to: Date): void;
31
- /** @ignore */
32
- refreshData(data: VerticalStackedChartData | any): void;
33
- /** @ignore */
34
- private createSeriesStacked;
35
- }
@@ -1,38 +0,0 @@
1
- import { BaseAdapter } from '../../adapters/BaseAdapter';
2
- /**
3
- * Interfaccia rappresentante una Service di graficamento generica
4
- */
5
- export interface IBaseService<T> {
6
- /**
7
- * Adattatore che si occupa della trasformazione fra una tipologia di dati qualsiasi e i Dto utilizzati da questa libreria
8
- */
9
- Adapter: BaseAdapter;
10
- /**
11
- * Istanza del grafico vera e propria
12
- */
13
- ChartInstance: T;
14
- /**
15
- * Crea e disegna il grafico la prima volta
16
- *
17
- * @param {string} name Nome del grafico (Chiave univoca)
18
- * @param {any} data Dati del grafico, o tipo specifico o tipolegacy che si occuperà di convertire l'**Adapter**
19
- * @param {any} settings Impostazione per la generazione del grafico
20
- * @returns {IBaseService<T>} Se stessa nello stato successivo alla graficazione
21
- */
22
- graphicate(name: string, data: any, settings: any): IBaseService<T>;
23
- /**
24
- * Aggiorna la sorgente dati del grafico senza ricrearlo da 0. Da usare al posto dei destroy-rebuild
25
- *
26
- * NOTA BENE: Mancano le implementazioni, eventualmente svilupparle
27
- *
28
- * @param {any} data Nuovi dati da sostituire a quelli precedenti
29
- */
30
- refreshData(data: any): void;
31
- /**
32
- * Imposta lo zoom dal **from** al **to**
33
- *
34
- * @param {Date} from Inizio dello zoom
35
- * @param {Date} to Fine dello zoom
36
- */
37
- setSelection(from: Date, to: Date): void;
38
- }
package/lib/tokens.d.ts DELETED
@@ -1,13 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * Token che identifica il default per l'utilizzo o meno delle Animazioni per tutti i grafici, può essere sovrascritto dalle impostazioni locali (Settings e Input)
4
- */
5
- export declare const ESC_ANIMATIONS: InjectionToken<boolean>;
6
- /**
7
- * Token che identifica il Tema di default per tutti i grafici, può essere sovrascritto dalle impostazioni locali (Settings e Input)
8
- */
9
- export declare const ESC_THEME: InjectionToken<string>;
10
- /**
11
- * Token che identifica l'utilizzo o meno del sistema di Log per l'intera libreria
12
- */
13
- export declare const ESC_DEBUG_MODE: InjectionToken<string>;
package/public-api.d.ts DELETED
@@ -1,35 +0,0 @@
1
- export * from './lib/adapters/BaseAdapter';
2
- export * from './lib/adapters/IBaseAdapter';
3
- export * from './lib/models/data/LineChartData';
4
- export * from './lib/models/data/PieChartData';
5
- export * from './lib/models/data/AreaChartData';
6
- export * from './lib/models/data/Vertical2DChartData';
7
- export * from './lib/models/data/VerticalChartData';
8
- export * from './lib/models/data/VerticalStackedChartData';
9
- export * from './lib/models/settings/AreaChartSettings';
10
- export * from './lib/models/settings/LineChartSettings';
11
- export * from './lib/models/settings/PieChartSettings';
12
- export * from './lib/models/settings/Vertical2DChartSettings';
13
- export * from './lib/models/settings/VerticalChartSettings';
14
- export * from './lib/models/settings/VerticalStackedChartSettings';
15
- export * from './lib/models/settings/base/BaseSettings';
16
- export * from './lib/models/settings/base/BaseInterval';
17
- export * from './lib/models/settings/base/LegendPad';
18
- export * from './lib/models/data/base/Limit';
19
- export * from './lib/models/data/base/DateValue';
20
- export * from './lib/models/data/base/KeyValue';
21
- export * from './lib/models/data/base/KeyValueColor';
22
- export * from './lib/models/data/base/LineSerie';
23
- export * from './lib/components/chart-pager/chart-pager.component';
24
- export * from './lib/components/base/base-chart.component';
25
- export * from './lib/components/specializations/es-chart.component';
26
- export * from './lib/components/specializations/es-area-chart.component';
27
- export * from './lib/components/specializations/es-line-chart.component';
28
- export * from './lib/components/specializations/es-pie-chart.component';
29
- export * from './lib/components/specializations/es-vertical-2d-chart.component';
30
- export * from './lib/components/specializations/es-vertical-chart.component';
31
- export * from './lib/components/specializations/es-vertical-stacked-chart.component';
32
- export * from './lib/models/core/ChartThemes';
33
- export * from './lib/models/data/PagedChartData';
34
- export * from './lib/es-charts.module';
35
- export * from './lib/tokens';