@esfaenza/es-charts 11.2.17 → 11.2.21
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/bundles/esfaenza-es-charts.umd.js +99 -54
- package/bundles/esfaenza-es-charts.umd.js.map +1 -1
- package/bundles/esfaenza-es-charts.umd.min.js +1 -1
- package/bundles/esfaenza-es-charts.umd.min.js.map +1 -1
- package/esfaenza-es-charts.d.ts +4 -5
- package/esfaenza-es-charts.metadata.json +1 -1
- package/esm2015/esfaenza-es-charts.js +5 -6
- package/esm2015/lib/components/base/base-chart.component.js +16 -3
- package/esm2015/lib/services/classes/LineChartService.js +65 -33
- package/esm2015/public-api.js +2 -1
- package/fesm2015/esfaenza-es-charts.js +81 -36
- package/fesm2015/esfaenza-es-charts.js.map +1 -1
- package/lib/components/base/base-chart.component.d.ts +9 -0
- package/lib/services/classes/LineChartService.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -126,6 +126,11 @@ export declare abstract class BaseChartComponent implements AfterViewInit, OnDes
|
|
|
126
126
|
* Evento lanciato al termine del caricamento di una nuova pagina del grafico
|
|
127
127
|
*/
|
|
128
128
|
onLoadEnd: EventEmitter<void>;
|
|
129
|
+
/**
|
|
130
|
+
* Evento lanciato al termine della creazione del grafico referenziando l'istanza nativa del grafico creato in modo da poter effettuare modifiche
|
|
131
|
+
* post inizializzazione lato applicativo
|
|
132
|
+
*/
|
|
133
|
+
chartLoaded: EventEmitter<BaseChartComponent>;
|
|
129
134
|
/**
|
|
130
135
|
* Serve a decidere se sarà presente l'interfaccia di paginazione
|
|
131
136
|
*/
|
|
@@ -264,6 +269,10 @@ export declare abstract class BaseChartComponent implements AfterViewInit, OnDes
|
|
|
264
269
|
* le differenze fra il grafico com'era prima e come deve diventare, in modo da non ricrearlo ma semplicemente modificare quello che già è disegnato
|
|
265
270
|
*/
|
|
266
271
|
private reloadChart;
|
|
272
|
+
/**
|
|
273
|
+
* Permette di aggiungere un blocco di dati in maniera "live" ad un grafico
|
|
274
|
+
*/
|
|
275
|
+
addData(chartData: any): void;
|
|
267
276
|
/**
|
|
268
277
|
* Funzione che si occupa di caricare i temi necessari per il grafico in oggetto. Prima applica il tema, poi, se serve, applica le animazioni
|
|
269
278
|
*/
|
|
@@ -17,6 +17,8 @@ export declare class LineChartService implements IBaseService<am4charts.XYChart>
|
|
|
17
17
|
/** @ignore */
|
|
18
18
|
private OpacityOnSelected;
|
|
19
19
|
/** @ignore */
|
|
20
|
+
private singleDataSet;
|
|
21
|
+
/** @ignore */
|
|
20
22
|
constructor(Adapter: BaseAdapter, dateExts: DateService);
|
|
21
23
|
/**
|
|
22
24
|
* Metodo che data una coppia Dati - Impostazioni li utilizza per creare e visualizzare un LineChart
|
|
@@ -24,6 +26,8 @@ export declare class LineChartService implements IBaseService<am4charts.XYChart>
|
|
|
24
26
|
graphicate(data: LineChartData | any, settings: LineChartSettings): IBaseService<am4charts.XYChart>;
|
|
25
27
|
/** @ignore */
|
|
26
28
|
refreshData(data: LineChartData | any): void;
|
|
29
|
+
/** Partendo da dati divisi per seriue genera un dataset unito con la data come chiave e i vari valori dopo */
|
|
30
|
+
private generateSingleDataset;
|
|
27
31
|
/** @ignore */
|
|
28
32
|
private emitSelectionChanged;
|
|
29
33
|
/** @ignore */
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './lib/models/data/classes/base/DateValue';
|
|
|
20
20
|
export * from './lib/models/data/classes/base/KeyValue';
|
|
21
21
|
export * from './lib/models/data/classes/base/KeyValueColor';
|
|
22
22
|
export * from './lib/models/data/classes/base/LineSerie';
|
|
23
|
+
export * from './lib/components/base/base-chart.component';
|
|
23
24
|
export * from './lib/components/specializations/es-chart.component';
|
|
24
25
|
export * from './lib/components/specializations/es-area-chart.component';
|
|
25
26
|
export * from './lib/components/specializations/es-line-chart.component';
|