@esfaenza/es-charts 12.2.11 → 13.1.2
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/esfaenza-es-charts.d.ts +1 -6
- package/esm2020/esfaenza-es-charts.mjs +5 -0
- package/esm2020/lib/adapters/classes/BaseAdapter.mjs +50 -0
- package/{esm2015/lib/adapters/classes/IBaseAdapter.js → esm2020/lib/adapters/classes/IBaseAdapter.mjs} +0 -0
- package/{esm2015/lib/adapters/index.js → esm2020/lib/adapters/index.mjs} +0 -0
- package/esm2020/lib/components/base/base-chart.component.mjs +325 -0
- package/esm2020/lib/components/chart-pager/chart-pager.component.mjs +89 -0
- package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
- package/esm2020/lib/components/specializations/es-area-chart.component.mjs +78 -0
- package/esm2020/lib/components/specializations/es-chart.component.mjs +111 -0
- package/esm2020/lib/components/specializations/es-line-chart.component.mjs +110 -0
- package/esm2020/lib/components/specializations/es-pie-chart.component.mjs +99 -0
- package/esm2020/lib/components/specializations/es-vertical-2d-chart.component.mjs +96 -0
- package/esm2020/lib/components/specializations/es-vertical-chart.component.mjs +93 -0
- package/esm2020/lib/components/specializations/es-vertical-stacked-chart.component.mjs +93 -0
- package/esm2020/lib/es-charts.module.mjs +61 -0
- package/{esm2015/lib/models/EsChaartsModuleConfig.js → esm2020/lib/models/EsChaartsModuleConfig.mjs} +0 -0
- package/esm2020/lib/models/core/classes/ChartDispatcher.mjs +91 -0
- package/{esm2015/lib/models/core/classes/ChartLoader.js → esm2020/lib/models/core/classes/ChartLoader.mjs} +0 -0
- package/{esm2015/lib/models/core/classes/ChartThemes.js → esm2020/lib/models/core/classes/ChartThemes.mjs} +0 -0
- package/{esm2015/lib/models/core/index.js → esm2020/lib/models/core/index.mjs} +0 -0
- package/{esm2015/lib/models/data/classes/AreaChartData.js → esm2020/lib/models/data/classes/AreaChartData.mjs} +0 -0
- package/esm2020/lib/models/data/classes/LineChartData.mjs +16 -0
- package/{esm2015/lib/models/data/classes/PagedChartData.js → esm2020/lib/models/data/classes/PagedChartData.mjs} +0 -0
- package/{esm2015/lib/models/data/classes/PieChartData.js → esm2020/lib/models/data/classes/PieChartData.mjs} +0 -0
- package/{esm2015/lib/models/data/classes/Vertical2DChartData.js → esm2020/lib/models/data/classes/Vertical2DChartData.mjs} +0 -0
- package/{esm2015/lib/models/data/classes/VerticalChartData.js → esm2020/lib/models/data/classes/VerticalChartData.mjs} +0 -0
- package/{esm2015/lib/models/data/classes/VerticalStackedChartData.js → esm2020/lib/models/data/classes/VerticalStackedChartData.mjs} +0 -0
- package/{esm2015/lib/models/data/classes/base/DateValue.js → esm2020/lib/models/data/classes/base/DateValue.mjs} +0 -0
- package/{esm2015/lib/models/data/classes/base/KeyValue.js → esm2020/lib/models/data/classes/base/KeyValue.mjs} +0 -0
- package/{esm2015/lib/models/data/classes/base/KeyValueColor.js → esm2020/lib/models/data/classes/base/KeyValueColor.mjs} +0 -0
- package/esm2020/lib/models/data/classes/base/Limit.mjs +15 -0
- package/esm2020/lib/models/data/classes/base/LineSerie.mjs +24 -0
- package/{esm2015/lib/models/data/index.js → esm2020/lib/models/data/index.mjs} +2 -1
- package/{esm2015/lib/models/settings/classes/AreaChartSettings.js → esm2020/lib/models/settings/classes/AreaChartSettings.mjs} +0 -0
- package/{esm2015/lib/models/settings/classes/LineChartSettings.js → esm2020/lib/models/settings/classes/LineChartSettings.mjs} +0 -0
- package/{esm2015/lib/models/settings/classes/PieChartSettings.js → esm2020/lib/models/settings/classes/PieChartSettings.mjs} +0 -0
- package/{esm2015/lib/models/settings/classes/Vertical2DChartSettings.js → esm2020/lib/models/settings/classes/Vertical2DChartSettings.mjs} +0 -0
- package/{esm2015/lib/models/settings/classes/VerticalChartSettings.js → esm2020/lib/models/settings/classes/VerticalChartSettings.mjs} +0 -0
- package/{esm2015/lib/models/settings/classes/VerticalStackedChartSettings.js → esm2020/lib/models/settings/classes/VerticalStackedChartSettings.mjs} +0 -0
- package/{esm2015/lib/models/settings/classes/base/BaseInterval.js → esm2020/lib/models/settings/classes/base/BaseInterval.mjs} +0 -0
- package/{esm2015/lib/models/settings/classes/base/BaseSettings.js → esm2020/lib/models/settings/classes/base/BaseSettings.mjs} +0 -0
- package/{esm2015/lib/models/settings/classes/base/LegendPad.js → esm2020/lib/models/settings/classes/base/LegendPad.mjs} +0 -0
- package/{esm2015/lib/models/settings/index.js → esm2020/lib/models/settings/index.mjs} +0 -0
- package/esm2020/lib/services/classes/AreaChartService.mjs +134 -0
- package/esm2020/lib/services/classes/LineChartService.mjs +324 -0
- package/esm2020/lib/services/classes/PieChartService.mjs +111 -0
- package/esm2020/lib/services/classes/Vertical2DChartService.mjs +160 -0
- package/esm2020/lib/services/classes/VerticalChartService.mjs +103 -0
- package/esm2020/lib/services/classes/VerticalStackedChartService.mjs +124 -0
- package/{esm2015/lib/services/classes/base/IBaseService.js → esm2020/lib/services/classes/base/IBaseService.mjs} +0 -0
- package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
- package/{esm2015/lib/tokens.js → esm2020/lib/tokens.mjs} +0 -0
- package/esm2020/public-api.mjs +37 -0
- package/fesm2015/{esfaenza-es-charts.js → esfaenza-es-charts.mjs} +521 -372
- package/fesm2015/esfaenza-es-charts.mjs.map +1 -0
- package/fesm2020/esfaenza-es-charts.mjs +2701 -0
- package/fesm2020/esfaenza-es-charts.mjs.map +1 -0
- package/lib/adapters/classes/BaseAdapter.d.ts +3 -0
- package/lib/components/base/base-chart.component.d.ts +3 -0
- package/lib/components/chart-pager/chart-pager.component.d.ts +3 -0
- package/lib/components/specializations/es-area-chart.component.d.ts +3 -0
- package/lib/components/specializations/es-chart.component.d.ts +3 -0
- package/lib/components/specializations/es-line-chart.component.d.ts +3 -0
- package/lib/components/specializations/es-pie-chart.component.d.ts +3 -0
- package/lib/components/specializations/es-vertical-2d-chart.component.d.ts +3 -0
- package/lib/components/specializations/es-vertical-chart.component.d.ts +3 -0
- package/lib/components/specializations/es-vertical-stacked-chart.component.d.ts +3 -0
- package/lib/es-charts.module.d.ts +13 -0
- package/lib/models/core/classes/ChartDispatcher.d.ts +3 -0
- package/lib/models/data/classes/LineChartData.d.ts +4 -1
- package/lib/models/data/classes/base/Limit.d.ts +13 -0
- package/lib/models/data/classes/base/LineSerie.d.ts +4 -2
- package/lib/models/data/index.d.ts +1 -0
- package/package.json +23 -11
- package/public-api.d.ts +2 -0
- package/bundles/esfaenza-es-charts.umd.js +0 -3161
- package/bundles/esfaenza-es-charts.umd.js.map +0 -1
- package/esfaenza-es-charts.metadata.json +0 -1
- package/esm2015/esfaenza-es-charts.js +0 -11
- package/esm2015/lib/adapters/classes/BaseAdapter.js +0 -47
- package/esm2015/lib/components/base/base-chart.component.js +0 -311
- package/esm2015/lib/components/chart-pager/chart-pager.component.js +0 -84
- package/esm2015/lib/components/specializations/es-area-chart.component.js +0 -75
- package/esm2015/lib/components/specializations/es-chart.component.js +0 -108
- package/esm2015/lib/components/specializations/es-line-chart.component.js +0 -98
- package/esm2015/lib/components/specializations/es-pie-chart.component.js +0 -89
- package/esm2015/lib/components/specializations/es-vertical-2d-chart.component.js +0 -87
- package/esm2015/lib/components/specializations/es-vertical-chart.component.js +0 -85
- package/esm2015/lib/components/specializations/es-vertical-stacked-chart.component.js +0 -85
- package/esm2015/lib/es-charts.module.js +0 -42
- package/esm2015/lib/models/core/classes/ChartDispatcher.js +0 -88
- package/esm2015/lib/models/data/classes/LineChartData.js +0 -14
- package/esm2015/lib/models/data/classes/base/LineSerie.js +0 -22
- package/esm2015/lib/services/classes/AreaChartService.js +0 -135
- package/esm2015/lib/services/classes/LineChartService.js +0 -296
- package/esm2015/lib/services/classes/PieChartService.js +0 -112
- package/esm2015/lib/services/classes/Vertical2DChartService.js +0 -163
- package/esm2015/lib/services/classes/VerticalChartService.js +0 -105
- package/esm2015/lib/services/classes/VerticalStackedChartService.js +0 -127
- package/esm2015/public-api.js +0 -35
- package/fesm2015/esfaenza-es-charts.js.map +0 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ContentChild, InjectionToken, Inject, Directive, PLATFORM_ID, NgModule } from '@angular/core';
|
|
3
|
+
import * as i4 from '@angular/common';
|
|
3
4
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
|
4
5
|
import * as am4core from '@amcharts/amcharts4/core';
|
|
5
6
|
import * as am4charts from '@amcharts/amcharts4/charts';
|
|
7
|
+
import * as i2 from '@esfaenza/extensions';
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
10
|
* Adapter Base da reimplementare per trasformare i dati da una libreria di grafici a questa per evitare di riscrivere tutto il codice di
|
|
@@ -46,9 +48,11 @@ class BaseAdapter {
|
|
|
46
48
|
return anyData;
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
|
-
BaseAdapter
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
BaseAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
52
|
+
BaseAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseAdapter });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseAdapter, decorators: [{
|
|
54
|
+
type: Injectable
|
|
55
|
+
}] });
|
|
52
56
|
|
|
53
57
|
/**
|
|
54
58
|
* Dati relativi a un grafico di tipo LineChart
|
|
@@ -58,9 +62,11 @@ class LineChartData {
|
|
|
58
62
|
* Costruttore
|
|
59
63
|
*
|
|
60
64
|
* @param {LineSerie[]} series Lista di serie da graficare
|
|
65
|
+
* @param {{upper: lower}}
|
|
61
66
|
*/
|
|
62
|
-
constructor(series = []) {
|
|
67
|
+
constructor(series = [], limit) {
|
|
63
68
|
this.series = series;
|
|
69
|
+
this.limit = limit;
|
|
64
70
|
}
|
|
65
71
|
}
|
|
66
72
|
|
|
@@ -212,6 +218,21 @@ class BaseInterval {
|
|
|
212
218
|
class LegendPad {
|
|
213
219
|
}
|
|
214
220
|
|
|
221
|
+
/**
|
|
222
|
+
* Modello che identifica un limite superiore - inferiore
|
|
223
|
+
*/
|
|
224
|
+
class Limit {
|
|
225
|
+
/** @ignore */
|
|
226
|
+
constructor(upper, upperLabel, upperColor, lower, lowerLabel, lowerColor) {
|
|
227
|
+
this.upper = upper;
|
|
228
|
+
this.upperLabel = upperLabel;
|
|
229
|
+
this.upperColor = upperColor;
|
|
230
|
+
this.lower = lower;
|
|
231
|
+
this.lowerLabel = lowerLabel;
|
|
232
|
+
this.lowerColor = lowerColor;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
215
236
|
/**
|
|
216
237
|
* Modello che identifica la coppia Data-Valore
|
|
217
238
|
*/
|
|
@@ -256,18 +277,106 @@ class LineSerie {
|
|
|
256
277
|
* @param {string} name Nome della serie
|
|
257
278
|
* @param {DateValue[]} values Valori della serie
|
|
258
279
|
* @param {BaseInterval} interval Intervallo della serie. Viene utilizzato per gestire Gap e date in Istante Finale
|
|
259
|
-
* @param {string} color Colore della serie, verrà usato sia per la
|
|
280
|
+
* @param {string} color Colore della serie, verrà usato sia per la linea base che eventualmente per il riempimento (in caso si utilizzi l'Input **Fill** nel grafico)
|
|
260
281
|
* @param {string} uom Unità di misura da presentare nell'asse delle Y
|
|
282
|
+
* @param {boolean} fill Override della proprietà **Fill** del grafico, specifico per ogni serie
|
|
261
283
|
*/
|
|
262
|
-
constructor(name, values, interval, color, uom) {
|
|
284
|
+
constructor(name, values, interval, color, uom, fill) {
|
|
263
285
|
this.name = name;
|
|
264
286
|
this.values = values;
|
|
265
287
|
this.interval = interval;
|
|
266
288
|
this.color = color;
|
|
267
289
|
this.uom = uom;
|
|
290
|
+
this.fill = fill;
|
|
268
291
|
}
|
|
269
292
|
}
|
|
270
293
|
|
|
294
|
+
/**
|
|
295
|
+
* Componente che si occupa della paginazione dei grafici qualora servisse
|
|
296
|
+
*/
|
|
297
|
+
class PageChartSelector {
|
|
298
|
+
constructor() {
|
|
299
|
+
/**
|
|
300
|
+
* Indica un cambio di pagina ed emette un oggetto con i dati attuali e l'indice attuale.
|
|
301
|
+
*
|
|
302
|
+
* Qualora la proprietà **data** fosse null indica un evento di "loading"
|
|
303
|
+
*/
|
|
304
|
+
this.onPageChange = new EventEmitter();
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* @ignore
|
|
308
|
+
*/
|
|
309
|
+
ngOnChanges() {
|
|
310
|
+
if (!(this.Items || this.Dtos) || (this.Items || this.Dtos).length == 0)
|
|
311
|
+
throw new Error("Chart array cannot be empty!");
|
|
312
|
+
var idx = (this.StartIndex || 0);
|
|
313
|
+
this.currentindex = idx;
|
|
314
|
+
this.currentpage = idx + 1;
|
|
315
|
+
this.handlePageChange();
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Gestisce un cambio pagina inviando al callback **onPageChange** i dati attuali (siano essi il Dto per il caricamento dati i
|
|
319
|
+
* o i dati già presenti) e l'indice di visualizzazione
|
|
320
|
+
*/
|
|
321
|
+
handlePageChange() {
|
|
322
|
+
this.finalIndex = this.currentpage - 1;
|
|
323
|
+
this.currentindex = this.currentpage - 1;
|
|
324
|
+
let data = this.Items && this.Items.length > 0 ? this.Items[this.finalIndex].data : this.Dtos[this.finalIndex];
|
|
325
|
+
this.onPageChange.emit({ data: data, index: this.finalIndex });
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Visualizza il grafico successivo
|
|
329
|
+
*/
|
|
330
|
+
Next() {
|
|
331
|
+
// Per passare da page a index è sempre un -1
|
|
332
|
+
this.currentpage++;
|
|
333
|
+
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
334
|
+
// Delay pseudo-intelligente per click compulsivi.
|
|
335
|
+
// Se dopo questo delay sono andato avanti solo di 1 effettuo il callback altrimenti incremento l'indice
|
|
336
|
+
setTimeout(() => {
|
|
337
|
+
if (this.currentindex == this.currentpage - 2)
|
|
338
|
+
this.handlePageChange();
|
|
339
|
+
else
|
|
340
|
+
this.currentindex++;
|
|
341
|
+
}, this.BrowseDelayMs);
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Visualizza il grafico precedente
|
|
345
|
+
*/
|
|
346
|
+
Previous() {
|
|
347
|
+
// Per passare da page a index è sempre un -1
|
|
348
|
+
this.currentpage--;
|
|
349
|
+
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
350
|
+
// Delay pseudo-intelligente per click compulsivi.
|
|
351
|
+
// Se dopo questo delay sono andato indietro solo di 1 effettuo il callback altrimenti decremento l'indice
|
|
352
|
+
setTimeout(() => {
|
|
353
|
+
if (this.currentindex == this.currentpage)
|
|
354
|
+
this.handlePageChange();
|
|
355
|
+
else
|
|
356
|
+
this.currentindex--;
|
|
357
|
+
}, this.BrowseDelayMs);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
PageChartSelector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PageChartSelector, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
361
|
+
PageChartSelector.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: PageChartSelector, selector: "chart-pager", inputs: { Items: "Items", Dtos: "Dtos", BrowseDelayMs: "BrowseDelayMs", StartIndex: "StartIndex" }, outputs: { onPageChange: "onPageChange" }, queries: [{ propertyName: "headerInner_tr", first: true, predicate: ["header_inner"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"(Items || Dtos) && (Items || Dtos).length > 0\" class=\"pcs-no-selection\">\r\n <div class=\"pcs-button pcs-backward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"currentpage != 1 && Previous(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"currentpage == 1 ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-left\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div class=\"pcs-infos\">\r\n <ng-container *ngIf=\"headerInner_tr\">\r\n <ng-container *ngTemplateOutlet=\"headerInner_tr; context : {$implicit: (Items || Dtos)[currentpage - 1]}\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"pcs-button pcs-forward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"(Items || Dtos).length != currentpage && Next(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"(Items || Dtos).length == currentpage ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-right\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div style=\"clear: both;\"></div>\r\n</div>", styles: [".pcs-button{width:60px}.pcs-forward{float:right;text-align:end}.pcs-backward{float:left}.pcs-svg-header{width:57px;height:40px}.pcs-svg-button-container{outline:currentcolor none medium}.pcs-svg-arrow{pointer-events:none;fill:#555}.pcs-svg-arrow-right{transform:translate(44px,36px) rotate(180deg)}.pcs-svg-arrow-left{transform:translate(13px,4px)}.pcs-svg-button{fill:#d9d9d9;stroke:#fff;fill-opacity:1;stroke-opacity:1}.pcs-svg-button:hover{fill:#a3a3a3;cursor:pointer}.pcs-infos{width:calc(100% - 120px);height:44px;float:left}.pcs-no-selection{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}\n"], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PageChartSelector, decorators: [{
|
|
363
|
+
type: Component,
|
|
364
|
+
args: [{ selector: "chart-pager", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"(Items || Dtos) && (Items || Dtos).length > 0\" class=\"pcs-no-selection\">\r\n <div class=\"pcs-button pcs-backward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"currentpage != 1 && Previous(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"currentpage == 1 ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-left\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div class=\"pcs-infos\">\r\n <ng-container *ngIf=\"headerInner_tr\">\r\n <ng-container *ngTemplateOutlet=\"headerInner_tr; context : {$implicit: (Items || Dtos)[currentpage - 1]}\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"pcs-button pcs-forward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"(Items || Dtos).length != currentpage && Next(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"(Items || Dtos).length == currentpage ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-right\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div style=\"clear: both;\"></div>\r\n</div>", styles: [".pcs-button{width:60px}.pcs-forward{float:right;text-align:end}.pcs-backward{float:left}.pcs-svg-header{width:57px;height:40px}.pcs-svg-button-container{outline:currentcolor none medium}.pcs-svg-arrow{pointer-events:none;fill:#555}.pcs-svg-arrow-right{transform:translate(44px,36px) rotate(180deg)}.pcs-svg-arrow-left{transform:translate(13px,4px)}.pcs-svg-button{fill:#d9d9d9;stroke:#fff;fill-opacity:1;stroke-opacity:1}.pcs-svg-button:hover{fill:#a3a3a3;cursor:pointer}.pcs-infos{width:calc(100% - 120px);height:44px;float:left}.pcs-no-selection{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}\n"] }]
|
|
365
|
+
}], propDecorators: { Items: [{
|
|
366
|
+
type: Input
|
|
367
|
+
}], Dtos: [{
|
|
368
|
+
type: Input
|
|
369
|
+
}], BrowseDelayMs: [{
|
|
370
|
+
type: Input
|
|
371
|
+
}], StartIndex: [{
|
|
372
|
+
type: Input
|
|
373
|
+
}], onPageChange: [{
|
|
374
|
+
type: Output
|
|
375
|
+
}], headerInner_tr: [{
|
|
376
|
+
type: ContentChild,
|
|
377
|
+
args: ['header_inner', { static: false }]
|
|
378
|
+
}] } });
|
|
379
|
+
|
|
271
380
|
/**
|
|
272
381
|
* Token che identifica il Locale di default per tutti i grafici, può essere sovrascritto dalle impostazioni locali (Settings e Input)
|
|
273
382
|
*/
|
|
@@ -364,12 +473,16 @@ class ChartDispatcher {
|
|
|
364
473
|
console.log("@esfaenza/es-charts: " + text);
|
|
365
474
|
}
|
|
366
475
|
}
|
|
367
|
-
ChartDispatcher
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
476
|
+
ChartDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ChartDispatcher, deps: [{ token: ESC_LOGS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
477
|
+
ChartDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ChartDispatcher });
|
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ChartDispatcher, decorators: [{
|
|
479
|
+
type: Injectable
|
|
480
|
+
}], ctorParameters: function () {
|
|
481
|
+
return [{ type: undefined, decorators: [{
|
|
482
|
+
type: Inject,
|
|
483
|
+
args: [ESC_LOGS]
|
|
484
|
+
}] }];
|
|
485
|
+
} });
|
|
373
486
|
|
|
374
487
|
/** @ignore */
|
|
375
488
|
const _spiritedaway = 'spiritedaway';
|
|
@@ -702,8 +815,8 @@ class BaseChartComponent {
|
|
|
702
815
|
* impostate in fase di import del modulo assegnando valori ai token ESC_LOCALE, ESC_ANIMATIONS, ESC_THEME
|
|
703
816
|
*/
|
|
704
817
|
ngOnInit() {
|
|
705
|
-
// Qui servono solo le variabili da conoscere PRE-graficazione per il caricamento dei moduli lazy del grafico
|
|
706
818
|
var _a, _b, _c, _d, _e, _f;
|
|
819
|
+
// Qui servono solo le variabili da conoscere PRE-graficazione per il caricamento dei moduli lazy del grafico
|
|
707
820
|
this.Animations = ((_a = this.Settings) === null || _a === void 0 ? void 0 : _a.Animations) != null ? (_b = this.Settings) === null || _b === void 0 ? void 0 : _b.Animations : (this.Animations != null ? this.Animations : this.animations);
|
|
708
821
|
this.Theme = ((_c = this.Settings) === null || _c === void 0 ? void 0 : _c.Theme) != null ? (_d = this.Settings) === null || _d === void 0 ? void 0 : _d.Theme : (this.Theme != null ? this.Theme : this.theme);
|
|
709
822
|
this.Locale = ((_e = this.Settings) === null || _e === void 0 ? void 0 : _e.Locale) != null ? (_f = this.Settings) === null || _f === void 0 ? void 0 : _f.Locale : (this.Locale != null ? this.Locale : this.locale);
|
|
@@ -785,8 +898,8 @@ class BaseChartComponent {
|
|
|
785
898
|
* @param {BaseSettings} settings Impostazioni base ricevute dalla specializzazione del grafico
|
|
786
899
|
*/
|
|
787
900
|
fillSettings(settings) {
|
|
788
|
-
// Merge degli Input con i Settings, dando priorità ai Settings
|
|
789
901
|
var _a;
|
|
902
|
+
// Merge degli Input con i Settings, dando priorità ai Settings
|
|
790
903
|
settings.Theme = settings.Theme ? settings.Theme : this.Theme;
|
|
791
904
|
settings.Locale = settings.Locale ? settings.Locale : this.Locale;
|
|
792
905
|
settings.Animations = settings.Animations != null ? settings.Animations : this.Animations;
|
|
@@ -866,8 +979,11 @@ class BaseChartComponent {
|
|
|
866
979
|
* le differenze fra il grafico com'era prima e come deve diventare, in modo da non ricrearlo ma semplicemente modificare quello che già è disegnato
|
|
867
980
|
*/
|
|
868
981
|
reloadChart() {
|
|
869
|
-
this.browserOnly(() => {
|
|
870
|
-
this.Chart.
|
|
982
|
+
this.browserOnly(() => {
|
|
983
|
+
if (!this.Chart.isDisposed())
|
|
984
|
+
this.Chart.dispose();
|
|
985
|
+
this.Dispatcher.deregisterGraph(this.name);
|
|
986
|
+
});
|
|
871
987
|
this.Dispatcher.register(this.name, () => { return this.loadChart(); });
|
|
872
988
|
}
|
|
873
989
|
/**
|
|
@@ -898,46 +1014,61 @@ class BaseChartComponent {
|
|
|
898
1014
|
}
|
|
899
1015
|
}
|
|
900
1016
|
}
|
|
901
|
-
BaseChartComponent
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
1017
|
+
BaseChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseChartComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
1018
|
+
BaseChartComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: BaseChartComponent, inputs: { XTitle: "XTitle", YTitle: "YTitle", Settings: "Settings", Legend: "Legend", LegendPosition: "LegendPosition", Timeline: "Timeline", name: "name", Animations: "Animations", Theme: "Theme", Locale: "Locale", HideSeriesOnLabelClick: "HideSeriesOnLabelClick", MinGridDistance: "MinGridDistance", AdaptLabelSizeAndOrientation: "AdaptLabelSizeAndOrientation", LegendPadding: "LegendPadding", DataDtos: "DataDtos", DataDtoStartIndex: "DataDtoStartIndex", DataRetrieve: "DataRetrieve", BrowseDelayMs: "BrowseDelayMs" }, outputs: { onSelectionChanged: "onSelectionChanged", onSeriesClicked: "onSeriesClicked", onLoadStart: "onLoadStart", onLoadEnd: "onLoadEnd" }, queries: [{ propertyName: "header_tr", first: true, predicate: ["header"], descendants: true }, { propertyName: "loading_template", first: true, predicate: ["loading"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
1019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseChartComponent, decorators: [{
|
|
1020
|
+
type: Directive
|
|
1021
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: Object }, { type: i0.NgZone }, { type: ChartLoader }, { type: ChartDispatcher }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }]; }, propDecorators: { XTitle: [{
|
|
1022
|
+
type: Input
|
|
1023
|
+
}], YTitle: [{
|
|
1024
|
+
type: Input
|
|
1025
|
+
}], Settings: [{
|
|
1026
|
+
type: Input
|
|
1027
|
+
}], Legend: [{
|
|
1028
|
+
type: Input
|
|
1029
|
+
}], LegendPosition: [{
|
|
1030
|
+
type: Input
|
|
1031
|
+
}], Timeline: [{
|
|
1032
|
+
type: Input
|
|
1033
|
+
}], name: [{
|
|
1034
|
+
type: Input
|
|
1035
|
+
}], Animations: [{
|
|
1036
|
+
type: Input
|
|
1037
|
+
}], Theme: [{
|
|
1038
|
+
type: Input
|
|
1039
|
+
}], Locale: [{
|
|
1040
|
+
type: Input
|
|
1041
|
+
}], HideSeriesOnLabelClick: [{
|
|
1042
|
+
type: Input
|
|
1043
|
+
}], MinGridDistance: [{
|
|
1044
|
+
type: Input
|
|
1045
|
+
}], AdaptLabelSizeAndOrientation: [{
|
|
1046
|
+
type: Input
|
|
1047
|
+
}], LegendPadding: [{
|
|
1048
|
+
type: Input
|
|
1049
|
+
}], DataDtos: [{
|
|
1050
|
+
type: Input
|
|
1051
|
+
}], DataDtoStartIndex: [{
|
|
1052
|
+
type: Input
|
|
1053
|
+
}], DataRetrieve: [{
|
|
1054
|
+
type: Input
|
|
1055
|
+
}], BrowseDelayMs: [{
|
|
1056
|
+
type: Input
|
|
1057
|
+
}], header_tr: [{
|
|
1058
|
+
type: ContentChild,
|
|
1059
|
+
args: ['header', { static: false }]
|
|
1060
|
+
}], loading_template: [{
|
|
1061
|
+
type: ContentChild,
|
|
1062
|
+
args: ['loading', { static: false }]
|
|
1063
|
+
}], onSelectionChanged: [{
|
|
1064
|
+
type: Output
|
|
1065
|
+
}], onSeriesClicked: [{
|
|
1066
|
+
type: Output
|
|
1067
|
+
}], onLoadStart: [{
|
|
1068
|
+
type: Output
|
|
1069
|
+
}], onLoadEnd: [{
|
|
1070
|
+
type: Output
|
|
1071
|
+
}] } });
|
|
941
1072
|
|
|
942
1073
|
/**
|
|
943
1074
|
* Classe il cui unico scopo è gestire il setup e rendering di un LineChart
|
|
@@ -960,7 +1091,7 @@ class LineChartService {
|
|
|
960
1091
|
* Metodo che data una coppia Dati - Impostazioni li utilizza per creare e visualizzare un LineChart
|
|
961
1092
|
*/
|
|
962
1093
|
graphicate(data, settings) {
|
|
963
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k
|
|
1094
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
964
1095
|
let dataConverted = this.Adapter ? this.Adapter.adaptDataForLineChart(data) : data;
|
|
965
1096
|
let threshold = (_a = settings.DataGroupingThreshold) !== null && _a !== void 0 ? _a : 3000;
|
|
966
1097
|
let singleDataSet = (_b = settings.MergeDatasets) !== null && _b !== void 0 ? _b : false;
|
|
@@ -971,7 +1102,6 @@ class LineChartService {
|
|
|
971
1102
|
let interval = seriesWithInterval ? dataConverted.series.find(t => t.interval).interval : null;
|
|
972
1103
|
let gapsAllowed = (settings === null || settings === void 0 ? void 0 : settings.AllowGaps) == null ? seriesWithInterval : settings === null || settings === void 0 ? void 0 : settings.AllowGaps;
|
|
973
1104
|
let finalInstant = (_c = settings === null || settings === void 0 ? void 0 : settings.FinalInstants) !== null && _c !== void 0 ? _c : true;
|
|
974
|
-
let fill = (_d = settings === null || settings === void 0 ? void 0 : settings.Fill) !== null && _d !== void 0 ? _d : false;
|
|
975
1105
|
//Per evitare di dimenticarmeli e gestire comunque bene gli ngif ecc...
|
|
976
1106
|
am4core.options.autoDispose = true;
|
|
977
1107
|
this.ChartInstance = am4core.create(settings.Name, am4charts.XYChart);
|
|
@@ -985,6 +1115,32 @@ class LineChartService {
|
|
|
985
1115
|
yAxis.min = settings.Min;
|
|
986
1116
|
if (settings.Max)
|
|
987
1117
|
yAxis.max = settings.Max;
|
|
1118
|
+
if (dataConverted.limit) {
|
|
1119
|
+
if (dataConverted.limit.upper != null && dataConverted.limit.upper != undefined) {
|
|
1120
|
+
let range = yAxis.axisRanges.create();
|
|
1121
|
+
range.value = dataConverted.limit.upper;
|
|
1122
|
+
range.label.inside = true;
|
|
1123
|
+
range.label.text = dataConverted.limit.upperLabel;
|
|
1124
|
+
range.label.fill = range.grid.stroke;
|
|
1125
|
+
range.label.verticalCenter = "bottom";
|
|
1126
|
+
range.label.stroke = am4core.color(dataConverted.limit.upperColor || "#F92200");
|
|
1127
|
+
range.grid.stroke = am4core.color(dataConverted.limit.upperColor || "#F92200");
|
|
1128
|
+
range.grid.strokeWidth = 2;
|
|
1129
|
+
range.grid.strokeOpacity = 1;
|
|
1130
|
+
}
|
|
1131
|
+
if (dataConverted.limit.lower != null && dataConverted.limit.lower != undefined) {
|
|
1132
|
+
let range = yAxis.axisRanges.create();
|
|
1133
|
+
range.value = dataConverted.limit.lower;
|
|
1134
|
+
range.label.inside = true;
|
|
1135
|
+
range.label.text = dataConverted.limit.lowerLabel;
|
|
1136
|
+
range.label.fill = range.grid.stroke;
|
|
1137
|
+
range.label.verticalCenter = "bottom";
|
|
1138
|
+
range.label.stroke = am4core.color(dataConverted.limit.lowerColor || "#F92200");
|
|
1139
|
+
range.grid.stroke = am4core.color(dataConverted.limit.lowerColor || "#F92200");
|
|
1140
|
+
range.grid.strokeWidth = 2;
|
|
1141
|
+
range.grid.strokeOpacity = 1;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
988
1144
|
let dateAxis = ChartInstanceCasted.xAxes.push(new am4charts.DateAxis());
|
|
989
1145
|
if (settings.XAxisTitle) {
|
|
990
1146
|
dateAxis.title.text = settings.XAxisTitle;
|
|
@@ -998,11 +1154,11 @@ class LineChartService {
|
|
|
998
1154
|
dateAxis.renderer.ticks.template.length = 10;
|
|
999
1155
|
dateAxis.renderer.ticks.template.location = 0;
|
|
1000
1156
|
}
|
|
1001
|
-
dateAxis.renderer.minGridDistance = (
|
|
1157
|
+
dateAxis.renderer.minGridDistance = (_d = settings === null || settings === void 0 ? void 0 : settings.MinGridDistance) !== null && _d !== void 0 ? _d : 50;
|
|
1002
1158
|
dateAxis.renderer.grid.template.location = 0;
|
|
1003
1159
|
dateAxis.minZoomCount = 5;
|
|
1004
1160
|
dateAxis.groupData = dataShouldBeGrouped;
|
|
1005
|
-
dateAxis.groupCount = (
|
|
1161
|
+
dateAxis.groupCount = (_e = settings.DataGroupBucketSize) !== null && _e !== void 0 ? _e : this.DataGroupBucketSize;
|
|
1006
1162
|
//Se ho almeno una serie ad intervallo e i settings non mi impediscono esplicitamente di usare i gaps, visualizzo i dati col gap
|
|
1007
1163
|
if (gapsAllowed) {
|
|
1008
1164
|
if (!seriesWithInterval) {
|
|
@@ -1046,7 +1202,7 @@ class LineChartService {
|
|
|
1046
1202
|
}
|
|
1047
1203
|
//-- Fine generazione
|
|
1048
1204
|
dataConverted.series.forEach((s, index) => {
|
|
1049
|
-
var _a, _b;
|
|
1205
|
+
var _a, _b, _c;
|
|
1050
1206
|
if (s.values[0] && !(s.values[0].d instanceof Date)) {
|
|
1051
1207
|
for (let v = 0; v < s.values.length; v++)
|
|
1052
1208
|
s.values[v].d = new Date(s.values[v].d);
|
|
@@ -1063,12 +1219,13 @@ class LineChartService {
|
|
|
1063
1219
|
}
|
|
1064
1220
|
if (!correctOrder)
|
|
1065
1221
|
s.values.sort((d1, d2) => d1.d.getTime() - d2.d.getTime());
|
|
1222
|
+
let fill = s.fill != null && s.fill != undefined ? s.fill : ((_a = settings === null || settings === void 0 ? void 0 : settings.Fill) !== null && _a !== void 0 ? _a : false);
|
|
1066
1223
|
let series = (settings === null || settings === void 0 ? void 0 : settings.Step) ? new am4charts.StepLineSeries() : new am4charts.LineSeries();
|
|
1067
1224
|
series.dataFields.valueY = "v" + (singleDataSet ? index : "");
|
|
1068
1225
|
series.dataFields.dateX = "d";
|
|
1069
1226
|
series.dataFields.measureUnit = s.uom;
|
|
1070
1227
|
series.name = s.name;
|
|
1071
|
-
series.strokeWidth = (
|
|
1228
|
+
series.strokeWidth = (_b = settings === null || settings === void 0 ? void 0 : settings.StrokeSize) !== null && _b !== void 0 ? _b : 1;
|
|
1072
1229
|
series.connect = !gapsAllowed;
|
|
1073
1230
|
series.minBulletDistance = 10;
|
|
1074
1231
|
series.tooltipText = singleDataSet ? "" : "{name}: [bold]{valueY}[/]";
|
|
@@ -1119,7 +1276,7 @@ class LineChartService {
|
|
|
1119
1276
|
series.data = s.values;
|
|
1120
1277
|
let segment = series.segments.template;
|
|
1121
1278
|
let hoverState = segment.states.create("hover");
|
|
1122
|
-
hoverState.properties.strokeWidth = ((
|
|
1279
|
+
hoverState.properties.strokeWidth = ((_c = settings === null || settings === void 0 ? void 0 : settings.StrokeSize) !== null && _c !== void 0 ? _c : 1) + 1;
|
|
1123
1280
|
let dimmed = segment.states.create("dimmed");
|
|
1124
1281
|
dimmed.properties.stroke = am4core.color("#dadada");
|
|
1125
1282
|
//Se la serie ha un colore, uso quello, altrimenti pesco dai colori di default andando in ordine
|
|
@@ -1140,17 +1297,17 @@ class LineChartService {
|
|
|
1140
1297
|
});
|
|
1141
1298
|
if (settings.Legend) {
|
|
1142
1299
|
this.ChartInstance.legend = new am4charts.Legend();
|
|
1143
|
-
this.ChartInstance.legend.position = (
|
|
1300
|
+
this.ChartInstance.legend.position = (_f = settings === null || settings === void 0 ? void 0 : settings.LegendPosition) !== null && _f !== void 0 ? _f : 'right';
|
|
1144
1301
|
this.ChartInstance.legend.scrollable = true;
|
|
1145
1302
|
this.ChartInstance.legend.itemContainers.template.tooltipText = "{name}";
|
|
1146
|
-
this.ChartInstance.legend.itemContainers.template.events.on("over", (event) => { this.processOver(event.target.dataItem.dataContext
|
|
1147
|
-
this.ChartInstance.legend.itemContainers.template.events.on("out", (
|
|
1303
|
+
this.ChartInstance.legend.itemContainers.template.events.on("over", (event) => { this.processOver(event.target.dataItem.dataContext); });
|
|
1304
|
+
this.ChartInstance.legend.itemContainers.template.events.on("out", () => { this.processOut(); });
|
|
1148
1305
|
if (settings.LegendPadding) {
|
|
1149
1306
|
let template = this.ChartInstance.legend.itemContainers.template;
|
|
1150
|
-
template.paddingTop = (
|
|
1151
|
-
template.paddingBottom = (
|
|
1152
|
-
template.paddingLeft = (
|
|
1153
|
-
template.paddingRight = (
|
|
1307
|
+
template.paddingTop = (_g = settings.LegendPadding.top) !== null && _g !== void 0 ? _g : 0;
|
|
1308
|
+
template.paddingBottom = (_h = settings.LegendPadding.bottom) !== null && _h !== void 0 ? _h : 0;
|
|
1309
|
+
template.paddingLeft = (_j = settings.LegendPadding.left) !== null && _j !== void 0 ? _j : 0;
|
|
1310
|
+
template.paddingRight = (_k = settings.LegendPadding.right) !== null && _k !== void 0 ? _k : 0;
|
|
1154
1311
|
}
|
|
1155
1312
|
}
|
|
1156
1313
|
this.ChartInstance.cursor = new am4charts.XYCursor();
|
|
@@ -1193,8 +1350,9 @@ class LineChartService {
|
|
|
1193
1350
|
}
|
|
1194
1351
|
}
|
|
1195
1352
|
/** @ignore */
|
|
1196
|
-
processOver(hoveredSeries
|
|
1353
|
+
processOver(hoveredSeries) {
|
|
1197
1354
|
hoveredSeries.toFront();
|
|
1355
|
+
let fill = hoveredSeries.stacked;
|
|
1198
1356
|
hoveredSeries.segments.each((segment) => {
|
|
1199
1357
|
segment.setState("hover");
|
|
1200
1358
|
if (!fill)
|
|
@@ -1203,17 +1361,20 @@ class LineChartService {
|
|
|
1203
1361
|
if (!fill)
|
|
1204
1362
|
hoveredSeries.legendDataItem.marker.children.getIndex(1).fillOpacity = this.OpacityOnSelected;
|
|
1205
1363
|
this.ChartInstance.series.each((series) => {
|
|
1206
|
-
if (series != hoveredSeries)
|
|
1364
|
+
if (series != hoveredSeries) {
|
|
1365
|
+
let fill = series.stacked;
|
|
1207
1366
|
series.segments.each((segment) => {
|
|
1208
1367
|
segment.setState("dimmed");
|
|
1209
1368
|
if (!fill)
|
|
1210
1369
|
segment.fillSprite.fillOpacity = 0;
|
|
1211
1370
|
});
|
|
1371
|
+
}
|
|
1212
1372
|
});
|
|
1213
1373
|
}
|
|
1214
1374
|
/** @ignore */
|
|
1215
|
-
processOut(
|
|
1375
|
+
processOut() {
|
|
1216
1376
|
this.ChartInstance.series.each((series) => {
|
|
1377
|
+
let fill = series.stacked;
|
|
1217
1378
|
series.segments.each((segment) => {
|
|
1218
1379
|
segment.setState("default");
|
|
1219
1380
|
if (!fill)
|
|
@@ -1938,32 +2099,35 @@ class EsChartComponent extends BaseChartComponent {
|
|
|
1938
2099
|
}
|
|
1939
2100
|
}
|
|
1940
2101
|
}
|
|
1941
|
-
EsChartComponent
|
|
1942
|
-
{ type:
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
]
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
2102
|
+
EsChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: i2.DateService }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_LOGS }, { token: ESC_ANIMATIONS }, { token: ESC_LOCALE }, { token: ESC_THEME }], target: i0.ɵɵFactoryTarget.Component });
|
|
2103
|
+
EsChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: EsChartComponent, selector: "es-chart", inputs: { Type: "Type", Data: "Data", DataArray: "DataArray" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], components: [{ type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsChartComponent, decorators: [{
|
|
2105
|
+
type: Component,
|
|
2106
|
+
args: [{ selector: 'es-chart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"] }]
|
|
2107
|
+
}], ctorParameters: function () {
|
|
2108
|
+
return [{ type: i0.ElementRef }, { type: ChartLoader }, { type: ChartDispatcher }, { type: i2.DateService }, { type: BaseAdapter }, { type: i0.NgZone }, { type: Object, decorators: [{
|
|
2109
|
+
type: Inject,
|
|
2110
|
+
args: [PLATFORM_ID]
|
|
2111
|
+
}] }, { type: undefined, decorators: [{
|
|
2112
|
+
type: Inject,
|
|
2113
|
+
args: [ESC_LOGS]
|
|
2114
|
+
}] }, { type: undefined, decorators: [{
|
|
2115
|
+
type: Inject,
|
|
2116
|
+
args: [ESC_ANIMATIONS]
|
|
2117
|
+
}] }, { type: undefined, decorators: [{
|
|
2118
|
+
type: Inject,
|
|
2119
|
+
args: [ESC_LOCALE]
|
|
2120
|
+
}] }, { type: undefined, decorators: [{
|
|
2121
|
+
type: Inject,
|
|
2122
|
+
args: [ESC_THEME]
|
|
2123
|
+
}] }];
|
|
2124
|
+
}, propDecorators: { Type: [{
|
|
2125
|
+
type: Input
|
|
2126
|
+
}], Data: [{
|
|
2127
|
+
type: Input
|
|
2128
|
+
}], DataArray: [{
|
|
2129
|
+
type: Input
|
|
2130
|
+
}] } });
|
|
1967
2131
|
|
|
1968
2132
|
/**
|
|
1969
2133
|
* Componente specifico per la graficazione di un grafico ad Area
|
|
@@ -2008,30 +2172,33 @@ class EsAreaChartComponent extends BaseChartComponent {
|
|
|
2008
2172
|
return new AreaChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2009
2173
|
}
|
|
2010
2174
|
}
|
|
2011
|
-
EsAreaChartComponent
|
|
2012
|
-
{ type:
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2175
|
+
EsAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsAreaChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_LOGS }, { token: ESC_ANIMATIONS }, { token: ESC_LOCALE }, { token: ESC_THEME }], target: i0.ɵɵFactoryTarget.Component });
|
|
2176
|
+
EsAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: EsAreaChartComponent, selector: "es-area-chart", inputs: { Data: "Data", DataArray: "DataArray" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], components: [{ type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsAreaChartComponent, decorators: [{
|
|
2178
|
+
type: Component,
|
|
2179
|
+
args: [{ selector: 'es-area-chart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"] }]
|
|
2180
|
+
}], ctorParameters: function () {
|
|
2181
|
+
return [{ type: i0.ElementRef }, { type: ChartLoader }, { type: ChartDispatcher }, { type: BaseAdapter }, { type: i0.NgZone }, { type: Object, decorators: [{
|
|
2182
|
+
type: Inject,
|
|
2183
|
+
args: [PLATFORM_ID]
|
|
2184
|
+
}] }, { type: undefined, decorators: [{
|
|
2185
|
+
type: Inject,
|
|
2186
|
+
args: [ESC_LOGS]
|
|
2187
|
+
}] }, { type: undefined, decorators: [{
|
|
2188
|
+
type: Inject,
|
|
2189
|
+
args: [ESC_ANIMATIONS]
|
|
2190
|
+
}] }, { type: undefined, decorators: [{
|
|
2191
|
+
type: Inject,
|
|
2192
|
+
args: [ESC_LOCALE]
|
|
2193
|
+
}] }, { type: undefined, decorators: [{
|
|
2194
|
+
type: Inject,
|
|
2195
|
+
args: [ESC_THEME]
|
|
2196
|
+
}] }];
|
|
2197
|
+
}, propDecorators: { Data: [{
|
|
2198
|
+
type: Input
|
|
2199
|
+
}], DataArray: [{
|
|
2200
|
+
type: Input
|
|
2201
|
+
}] } });
|
|
2035
2202
|
|
|
2036
2203
|
/**
|
|
2037
2204
|
* Componente specifico per la graficazione di un grafico a Linea su un asse temporale
|
|
@@ -2087,41 +2254,53 @@ class EsLineChartComponent extends BaseChartComponent {
|
|
|
2087
2254
|
return new LineChartService(this.adapter, this.dateService).graphicate(this.Data, settingsCasted);
|
|
2088
2255
|
}
|
|
2089
2256
|
}
|
|
2090
|
-
EsLineChartComponent
|
|
2091
|
-
{ type:
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
]
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
}
|
|
2257
|
+
EsLineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsLineChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i2.DateService }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_LOGS }, { token: ESC_ANIMATIONS }, { token: ESC_LOCALE }, { token: ESC_THEME }], target: i0.ɵɵFactoryTarget.Component });
|
|
2258
|
+
EsLineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: EsLineChartComponent, selector: "es-line-chart", inputs: { Data: "Data", DataArray: "DataArray", Step: "Step", DataGroupBucketSize: "DataGroupBucketSize", DataGroupingThreshold: "DataGroupingThreshold", StrokeSize: "StrokeSize", AllowGaps: "AllowGaps", MergeDatasets: "MergeDatasets", FinalInstants: "FinalInstants", Min: "Min", Max: "Max", Fill: "Fill" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], components: [{ type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsLineChartComponent, decorators: [{
|
|
2260
|
+
type: Component,
|
|
2261
|
+
args: [{ selector: 'es-line-chart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"] }]
|
|
2262
|
+
}], ctorParameters: function () {
|
|
2263
|
+
return [{ type: i0.ElementRef }, { type: ChartLoader }, { type: ChartDispatcher }, { type: BaseAdapter }, { type: i2.DateService }, { type: i0.NgZone }, { type: Object, decorators: [{
|
|
2264
|
+
type: Inject,
|
|
2265
|
+
args: [PLATFORM_ID]
|
|
2266
|
+
}] }, { type: undefined, decorators: [{
|
|
2267
|
+
type: Inject,
|
|
2268
|
+
args: [ESC_LOGS]
|
|
2269
|
+
}] }, { type: undefined, decorators: [{
|
|
2270
|
+
type: Inject,
|
|
2271
|
+
args: [ESC_ANIMATIONS]
|
|
2272
|
+
}] }, { type: undefined, decorators: [{
|
|
2273
|
+
type: Inject,
|
|
2274
|
+
args: [ESC_LOCALE]
|
|
2275
|
+
}] }, { type: undefined, decorators: [{
|
|
2276
|
+
type: Inject,
|
|
2277
|
+
args: [ESC_THEME]
|
|
2278
|
+
}] }];
|
|
2279
|
+
}, propDecorators: { Data: [{
|
|
2280
|
+
type: Input
|
|
2281
|
+
}], DataArray: [{
|
|
2282
|
+
type: Input
|
|
2283
|
+
}], Step: [{
|
|
2284
|
+
type: Input
|
|
2285
|
+
}], DataGroupBucketSize: [{
|
|
2286
|
+
type: Input
|
|
2287
|
+
}], DataGroupingThreshold: [{
|
|
2288
|
+
type: Input
|
|
2289
|
+
}], StrokeSize: [{
|
|
2290
|
+
type: Input
|
|
2291
|
+
}], AllowGaps: [{
|
|
2292
|
+
type: Input
|
|
2293
|
+
}], MergeDatasets: [{
|
|
2294
|
+
type: Input
|
|
2295
|
+
}], FinalInstants: [{
|
|
2296
|
+
type: Input
|
|
2297
|
+
}], Min: [{
|
|
2298
|
+
type: Input
|
|
2299
|
+
}], Max: [{
|
|
2300
|
+
type: Input
|
|
2301
|
+
}], Fill: [{
|
|
2302
|
+
type: Input
|
|
2303
|
+
}] } });
|
|
2125
2304
|
|
|
2126
2305
|
/**
|
|
2127
2306
|
* Componente specifico per la graficazione di un grafico a Torta
|
|
@@ -2173,37 +2352,47 @@ class EsPieChartComponent extends BaseChartComponent {
|
|
|
2173
2352
|
return new PieChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2174
2353
|
}
|
|
2175
2354
|
}
|
|
2176
|
-
EsPieChartComponent
|
|
2177
|
-
{ type:
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
}
|
|
2355
|
+
EsPieChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsPieChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_LOGS }, { token: ESC_ANIMATIONS }, { token: ESC_LOCALE }, { token: ESC_THEME }], target: i0.ɵɵFactoryTarget.Component });
|
|
2356
|
+
EsPieChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: EsPieChartComponent, selector: "es-pie-chart", inputs: { Data: "Data", DataArray: "DataArray", HideZeroes: "HideZeroes", Mode3D: "Mode3D", DonutRadiusPercentage: "DonutRadiusPercentage", LabelsWrap: "LabelsWrap", LabelsTruncate: "LabelsTruncate", LabelsWidth: "LabelsWidth", LabelsVisible: "LabelsVisible" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], components: [{ type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsPieChartComponent, decorators: [{
|
|
2358
|
+
type: Component,
|
|
2359
|
+
args: [{ selector: 'es-pie-chart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"] }]
|
|
2360
|
+
}], ctorParameters: function () {
|
|
2361
|
+
return [{ type: i0.ElementRef }, { type: ChartLoader }, { type: ChartDispatcher }, { type: BaseAdapter }, { type: i0.NgZone }, { type: Object, decorators: [{
|
|
2362
|
+
type: Inject,
|
|
2363
|
+
args: [PLATFORM_ID]
|
|
2364
|
+
}] }, { type: undefined, decorators: [{
|
|
2365
|
+
type: Inject,
|
|
2366
|
+
args: [ESC_LOGS]
|
|
2367
|
+
}] }, { type: undefined, decorators: [{
|
|
2368
|
+
type: Inject,
|
|
2369
|
+
args: [ESC_ANIMATIONS]
|
|
2370
|
+
}] }, { type: undefined, decorators: [{
|
|
2371
|
+
type: Inject,
|
|
2372
|
+
args: [ESC_LOCALE]
|
|
2373
|
+
}] }, { type: undefined, decorators: [{
|
|
2374
|
+
type: Inject,
|
|
2375
|
+
args: [ESC_THEME]
|
|
2376
|
+
}] }];
|
|
2377
|
+
}, propDecorators: { Data: [{
|
|
2378
|
+
type: Input
|
|
2379
|
+
}], DataArray: [{
|
|
2380
|
+
type: Input
|
|
2381
|
+
}], HideZeroes: [{
|
|
2382
|
+
type: Input
|
|
2383
|
+
}], Mode3D: [{
|
|
2384
|
+
type: Input
|
|
2385
|
+
}], DonutRadiusPercentage: [{
|
|
2386
|
+
type: Input
|
|
2387
|
+
}], LabelsWrap: [{
|
|
2388
|
+
type: Input
|
|
2389
|
+
}], LabelsTruncate: [{
|
|
2390
|
+
type: Input
|
|
2391
|
+
}], LabelsWidth: [{
|
|
2392
|
+
type: Input
|
|
2393
|
+
}], LabelsVisible: [{
|
|
2394
|
+
type: Input
|
|
2395
|
+
}] } });
|
|
2207
2396
|
|
|
2208
2397
|
/**
|
|
2209
2398
|
* Componente specifico per la graficazione di un grafico a Barre con due dimensioni
|
|
@@ -2254,36 +2443,45 @@ class EsVertical2DChartComponent extends BaseChartComponent {
|
|
|
2254
2443
|
return new Vertical2DChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2255
2444
|
}
|
|
2256
2445
|
}
|
|
2257
|
-
EsVertical2DChartComponent
|
|
2258
|
-
{ type:
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2446
|
+
EsVertical2DChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsVertical2DChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_LOGS }, { token: ESC_ANIMATIONS }, { token: ESC_LOCALE }, { token: ESC_THEME }], target: i0.ɵɵFactoryTarget.Component });
|
|
2447
|
+
EsVertical2DChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: EsVertical2DChartComponent, selector: "es-vertical-2d-chart", inputs: { Data: "Data", DataArray: "DataArray", ColumnWidthPercentage: "ColumnWidthPercentage", GroupPaddingPercentage: "GroupPaddingPercentage", LabelWidth: "LabelWidth", LabelVerticalOrientationCutoffWidth: "LabelVerticalOrientationCutoffWidth", LabelRightWhenCompressed: "LabelRightWhenCompressed", LabelTopWhenCompressed: "LabelTopWhenCompressed" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], components: [{ type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsVertical2DChartComponent, decorators: [{
|
|
2449
|
+
type: Component,
|
|
2450
|
+
args: [{ selector: 'es-vertical-2d-chart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"] }]
|
|
2451
|
+
}], ctorParameters: function () {
|
|
2452
|
+
return [{ type: i0.ElementRef }, { type: ChartLoader }, { type: ChartDispatcher }, { type: BaseAdapter }, { type: i0.NgZone }, { type: Object, decorators: [{
|
|
2453
|
+
type: Inject,
|
|
2454
|
+
args: [PLATFORM_ID]
|
|
2455
|
+
}] }, { type: undefined, decorators: [{
|
|
2456
|
+
type: Inject,
|
|
2457
|
+
args: [ESC_LOGS]
|
|
2458
|
+
}] }, { type: undefined, decorators: [{
|
|
2459
|
+
type: Inject,
|
|
2460
|
+
args: [ESC_ANIMATIONS]
|
|
2461
|
+
}] }, { type: undefined, decorators: [{
|
|
2462
|
+
type: Inject,
|
|
2463
|
+
args: [ESC_LOCALE]
|
|
2464
|
+
}] }, { type: undefined, decorators: [{
|
|
2465
|
+
type: Inject,
|
|
2466
|
+
args: [ESC_THEME]
|
|
2467
|
+
}] }];
|
|
2468
|
+
}, propDecorators: { Data: [{
|
|
2469
|
+
type: Input
|
|
2470
|
+
}], DataArray: [{
|
|
2471
|
+
type: Input
|
|
2472
|
+
}], ColumnWidthPercentage: [{
|
|
2473
|
+
type: Input
|
|
2474
|
+
}], GroupPaddingPercentage: [{
|
|
2475
|
+
type: Input
|
|
2476
|
+
}], LabelWidth: [{
|
|
2477
|
+
type: Input
|
|
2478
|
+
}], LabelVerticalOrientationCutoffWidth: [{
|
|
2479
|
+
type: Input
|
|
2480
|
+
}], LabelRightWhenCompressed: [{
|
|
2481
|
+
type: Input
|
|
2482
|
+
}], LabelTopWhenCompressed: [{
|
|
2483
|
+
type: Input
|
|
2484
|
+
}] } });
|
|
2287
2485
|
|
|
2288
2486
|
/**
|
|
2289
2487
|
* Componente specifico per la graficazione di un grafico a Barre
|
|
@@ -2333,35 +2531,43 @@ class EsVerticalChartComponent extends BaseChartComponent {
|
|
|
2333
2531
|
return new VerticalChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2334
2532
|
}
|
|
2335
2533
|
}
|
|
2336
|
-
EsVerticalChartComponent
|
|
2337
|
-
{ type:
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
}
|
|
2534
|
+
EsVerticalChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsVerticalChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_LOGS }, { token: ESC_ANIMATIONS }, { token: ESC_LOCALE }, { token: ESC_THEME }], target: i0.ɵɵFactoryTarget.Component });
|
|
2535
|
+
EsVerticalChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: EsVerticalChartComponent, selector: "es-vertical-chart", inputs: { Data: "Data", DataArray: "DataArray", ColumnWidthPercentage: "ColumnWidthPercentage", LabelWidth: "LabelWidth", LabelVerticalOrientationCutoffWidth: "LabelVerticalOrientationCutoffWidth", LabelRightWhenCompressed: "LabelRightWhenCompressed", LabelTopWhenCompressed: "LabelTopWhenCompressed" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], components: [{ type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsVerticalChartComponent, decorators: [{
|
|
2537
|
+
type: Component,
|
|
2538
|
+
args: [{ selector: 'es-vertical-chart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"] }]
|
|
2539
|
+
}], ctorParameters: function () {
|
|
2540
|
+
return [{ type: i0.ElementRef }, { type: ChartLoader }, { type: ChartDispatcher }, { type: BaseAdapter }, { type: i0.NgZone }, { type: Object, decorators: [{
|
|
2541
|
+
type: Inject,
|
|
2542
|
+
args: [PLATFORM_ID]
|
|
2543
|
+
}] }, { type: undefined, decorators: [{
|
|
2544
|
+
type: Inject,
|
|
2545
|
+
args: [ESC_LOGS]
|
|
2546
|
+
}] }, { type: undefined, decorators: [{
|
|
2547
|
+
type: Inject,
|
|
2548
|
+
args: [ESC_ANIMATIONS]
|
|
2549
|
+
}] }, { type: undefined, decorators: [{
|
|
2550
|
+
type: Inject,
|
|
2551
|
+
args: [ESC_LOCALE]
|
|
2552
|
+
}] }, { type: undefined, decorators: [{
|
|
2553
|
+
type: Inject,
|
|
2554
|
+
args: [ESC_THEME]
|
|
2555
|
+
}] }];
|
|
2556
|
+
}, propDecorators: { Data: [{
|
|
2557
|
+
type: Input
|
|
2558
|
+
}], DataArray: [{
|
|
2559
|
+
type: Input
|
|
2560
|
+
}], ColumnWidthPercentage: [{
|
|
2561
|
+
type: Input
|
|
2562
|
+
}], LabelWidth: [{
|
|
2563
|
+
type: Input
|
|
2564
|
+
}], LabelVerticalOrientationCutoffWidth: [{
|
|
2565
|
+
type: Input
|
|
2566
|
+
}], LabelRightWhenCompressed: [{
|
|
2567
|
+
type: Input
|
|
2568
|
+
}], LabelTopWhenCompressed: [{
|
|
2569
|
+
type: Input
|
|
2570
|
+
}] } });
|
|
2365
2571
|
|
|
2366
2572
|
/**
|
|
2367
2573
|
* Componente specifico per la graficazione di un grafico a Barre in modalità Stacked (una serie sopra l'altra)
|
|
@@ -2411,35 +2617,43 @@ class EsVerticalStackedChartComponent extends BaseChartComponent {
|
|
|
2411
2617
|
return new VerticalStackedChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2412
2618
|
}
|
|
2413
2619
|
}
|
|
2414
|
-
EsVerticalStackedChartComponent
|
|
2415
|
-
{ type:
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
}
|
|
2620
|
+
EsVerticalStackedChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsVerticalStackedChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_LOGS }, { token: ESC_ANIMATIONS }, { token: ESC_LOCALE }, { token: ESC_THEME }], target: i0.ɵɵFactoryTarget.Component });
|
|
2621
|
+
EsVerticalStackedChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: EsVerticalStackedChartComponent, selector: "es-vertical-stacked-chart", inputs: { Data: "Data", DataArray: "DataArray", ColumnWidthPercentage: "ColumnWidthPercentage", LabelWidth: "LabelWidth", LabelVerticalOrientationCutoffWidth: "LabelVerticalOrientationCutoffWidth", LabelRightWhenCompressed: "LabelRightWhenCompressed", LabelTopWhenCompressed: "LabelTopWhenCompressed" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], components: [{ type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsVerticalStackedChartComponent, decorators: [{
|
|
2623
|
+
type: Component,
|
|
2624
|
+
args: [{ selector: 'es-vertical-stacked-chart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:#9999;text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"] }]
|
|
2625
|
+
}], ctorParameters: function () {
|
|
2626
|
+
return [{ type: i0.ElementRef }, { type: ChartLoader }, { type: ChartDispatcher }, { type: BaseAdapter }, { type: i0.NgZone }, { type: Object, decorators: [{
|
|
2627
|
+
type: Inject,
|
|
2628
|
+
args: [PLATFORM_ID]
|
|
2629
|
+
}] }, { type: undefined, decorators: [{
|
|
2630
|
+
type: Inject,
|
|
2631
|
+
args: [ESC_LOGS]
|
|
2632
|
+
}] }, { type: undefined, decorators: [{
|
|
2633
|
+
type: Inject,
|
|
2634
|
+
args: [ESC_ANIMATIONS]
|
|
2635
|
+
}] }, { type: undefined, decorators: [{
|
|
2636
|
+
type: Inject,
|
|
2637
|
+
args: [ESC_LOCALE]
|
|
2638
|
+
}] }, { type: undefined, decorators: [{
|
|
2639
|
+
type: Inject,
|
|
2640
|
+
args: [ESC_THEME]
|
|
2641
|
+
}] }];
|
|
2642
|
+
}, propDecorators: { Data: [{
|
|
2643
|
+
type: Input
|
|
2644
|
+
}], DataArray: [{
|
|
2645
|
+
type: Input
|
|
2646
|
+
}], ColumnWidthPercentage: [{
|
|
2647
|
+
type: Input
|
|
2648
|
+
}], LabelWidth: [{
|
|
2649
|
+
type: Input
|
|
2650
|
+
}], LabelVerticalOrientationCutoffWidth: [{
|
|
2651
|
+
type: Input
|
|
2652
|
+
}], LabelRightWhenCompressed: [{
|
|
2653
|
+
type: Input
|
|
2654
|
+
}], LabelTopWhenCompressed: [{
|
|
2655
|
+
type: Input
|
|
2656
|
+
}] } });
|
|
2443
2657
|
|
|
2444
2658
|
/**
|
|
2445
2659
|
* Classe che identifica i dati per un grafico generico paginato
|
|
@@ -2461,89 +2675,6 @@ class PagedChartData {
|
|
|
2461
2675
|
}
|
|
2462
2676
|
}
|
|
2463
2677
|
|
|
2464
|
-
/**
|
|
2465
|
-
* Componente che si occupa della paginazione dei grafici qualora servisse
|
|
2466
|
-
*/
|
|
2467
|
-
class PageChartSelector {
|
|
2468
|
-
constructor() {
|
|
2469
|
-
/**
|
|
2470
|
-
* Indica un cambio di pagina ed emette un oggetto con i dati attuali e l'indice attuale.
|
|
2471
|
-
*
|
|
2472
|
-
* Qualora la proprietà **data** fosse null indica un evento di "loading"
|
|
2473
|
-
*/
|
|
2474
|
-
this.onPageChange = new EventEmitter();
|
|
2475
|
-
}
|
|
2476
|
-
/**
|
|
2477
|
-
* @ignore
|
|
2478
|
-
*/
|
|
2479
|
-
ngOnChanges() {
|
|
2480
|
-
if (!(this.Items || this.Dtos) || (this.Items || this.Dtos).length == 0)
|
|
2481
|
-
throw new Error("Chart array cannot be empty!");
|
|
2482
|
-
var idx = (this.StartIndex || 0);
|
|
2483
|
-
this.currentindex = idx;
|
|
2484
|
-
this.currentpage = idx + 1;
|
|
2485
|
-
this.handlePageChange();
|
|
2486
|
-
}
|
|
2487
|
-
/**
|
|
2488
|
-
* Gestisce un cambio pagina inviando al callback **onPageChange** i dati attuali (siano essi il Dto per il caricamento dati i
|
|
2489
|
-
* o i dati già presenti) e l'indice di visualizzazione
|
|
2490
|
-
*/
|
|
2491
|
-
handlePageChange() {
|
|
2492
|
-
this.finalIndex = this.currentpage - 1;
|
|
2493
|
-
this.currentindex = this.currentpage - 1;
|
|
2494
|
-
let data = this.Items && this.Items.length > 0 ? this.Items[this.finalIndex].data : this.Dtos[this.finalIndex];
|
|
2495
|
-
this.onPageChange.emit({ data: data, index: this.finalIndex });
|
|
2496
|
-
}
|
|
2497
|
-
/**
|
|
2498
|
-
* Visualizza il grafico successivo
|
|
2499
|
-
*/
|
|
2500
|
-
Next() {
|
|
2501
|
-
// Per passare da page a index è sempre un -1
|
|
2502
|
-
this.currentpage++;
|
|
2503
|
-
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
2504
|
-
// Delay pseudo-intelligente per click compulsivi.
|
|
2505
|
-
// Se dopo questo delay sono andato avanti solo di 1 effettuo il callback altrimenti incremento l'indice
|
|
2506
|
-
setTimeout(() => {
|
|
2507
|
-
if (this.currentindex == this.currentpage - 2)
|
|
2508
|
-
this.handlePageChange();
|
|
2509
|
-
else
|
|
2510
|
-
this.currentindex++;
|
|
2511
|
-
}, this.BrowseDelayMs);
|
|
2512
|
-
}
|
|
2513
|
-
/**
|
|
2514
|
-
* Visualizza il grafico precedente
|
|
2515
|
-
*/
|
|
2516
|
-
Previous() {
|
|
2517
|
-
// Per passare da page a index è sempre un -1
|
|
2518
|
-
this.currentpage--;
|
|
2519
|
-
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
2520
|
-
// Delay pseudo-intelligente per click compulsivi.
|
|
2521
|
-
// Se dopo questo delay sono andato indietro solo di 1 effettuo il callback altrimenti decremento l'indice
|
|
2522
|
-
setTimeout(() => {
|
|
2523
|
-
if (this.currentindex == this.currentpage)
|
|
2524
|
-
this.handlePageChange();
|
|
2525
|
-
else
|
|
2526
|
-
this.currentindex--;
|
|
2527
|
-
}, this.BrowseDelayMs);
|
|
2528
|
-
}
|
|
2529
|
-
}
|
|
2530
|
-
PageChartSelector.decorators = [
|
|
2531
|
-
{ type: Component, args: [{
|
|
2532
|
-
selector: "chart-pager",
|
|
2533
|
-
template: "<div *ngIf=\"(Items || Dtos) && (Items || Dtos).length > 0\" class=\"pcs-no-selection\">\r\n <div class=\"pcs-button pcs-backward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"currentpage != 1 && Previous(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"currentpage == 1 ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-left\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div class=\"pcs-infos\">\r\n <ng-container *ngIf=\"headerInner_tr\">\r\n <ng-container *ngTemplateOutlet=\"headerInner_tr; context : {$implicit: (Items || Dtos)[currentpage - 1]}\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"pcs-button pcs-forward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"(Items || Dtos).length != currentpage && Next(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"(Items || Dtos).length == currentpage ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-right\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div style=\"clear: both;\"></div>\r\n</div>",
|
|
2534
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2535
|
-
styles: [".pcs-button{width:60px}.pcs-forward{float:right;text-align:end}.pcs-backward{float:left}.pcs-svg-header{width:57px;height:40px}.pcs-svg-button-container{outline:currentcolor none medium}.pcs-svg-arrow{pointer-events:none;fill:#555}.pcs-svg-arrow-right{transform:translate(44px,36px) rotate(180deg)}.pcs-svg-arrow-left{transform:translate(13px,4px)}.pcs-svg-button{fill:#d9d9d9;stroke:#fff;fill-opacity:1;stroke-opacity:1}.pcs-svg-button:hover{fill:#a3a3a3;cursor:pointer}.pcs-infos{width:calc(100% - 120px);height:44px;float:left}.pcs-no-selection{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}\n"]
|
|
2536
|
-
},] }
|
|
2537
|
-
];
|
|
2538
|
-
PageChartSelector.propDecorators = {
|
|
2539
|
-
Items: [{ type: Input }],
|
|
2540
|
-
Dtos: [{ type: Input }],
|
|
2541
|
-
BrowseDelayMs: [{ type: Input }],
|
|
2542
|
-
StartIndex: [{ type: Input }],
|
|
2543
|
-
onPageChange: [{ type: Output }],
|
|
2544
|
-
headerInner_tr: [{ type: ContentChild, args: ['header_inner', { static: false },] }]
|
|
2545
|
-
};
|
|
2546
|
-
|
|
2547
2678
|
/** Componenti esportati dal modulo */
|
|
2548
2679
|
const COMPONENTS = [
|
|
2549
2680
|
EsChartComponent,
|
|
@@ -2571,14 +2702,32 @@ class EsChartsModule {
|
|
|
2571
2702
|
};
|
|
2572
2703
|
}
|
|
2573
2704
|
}
|
|
2574
|
-
EsChartsModule
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2705
|
+
EsChartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsChartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2706
|
+
EsChartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsChartsModule, declarations: [EsChartComponent,
|
|
2707
|
+
EsLineChartComponent,
|
|
2708
|
+
EsPieChartComponent,
|
|
2709
|
+
EsVertical2DChartComponent,
|
|
2710
|
+
EsVerticalChartComponent,
|
|
2711
|
+
EsVerticalStackedChartComponent,
|
|
2712
|
+
PageChartSelector,
|
|
2713
|
+
EsAreaChartComponent], imports: [CommonModule], exports: [EsChartComponent,
|
|
2714
|
+
EsLineChartComponent,
|
|
2715
|
+
EsPieChartComponent,
|
|
2716
|
+
EsVertical2DChartComponent,
|
|
2717
|
+
EsVerticalChartComponent,
|
|
2718
|
+
EsVerticalStackedChartComponent,
|
|
2719
|
+
PageChartSelector,
|
|
2720
|
+
EsAreaChartComponent] });
|
|
2721
|
+
EsChartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsChartsModule, providers: [ChartDispatcher], imports: [[CommonModule]] });
|
|
2722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EsChartsModule, decorators: [{
|
|
2723
|
+
type: NgModule,
|
|
2724
|
+
args: [{
|
|
2725
|
+
imports: [CommonModule],
|
|
2726
|
+
declarations: [...COMPONENTS],
|
|
2727
|
+
providers: [ChartDispatcher],
|
|
2728
|
+
exports: [...COMPONENTS]
|
|
2729
|
+
}]
|
|
2730
|
+
}] });
|
|
2582
2731
|
|
|
2583
2732
|
/*
|
|
2584
2733
|
* Public API Surface of es-charts
|
|
@@ -2588,5 +2737,5 @@ EsChartsModule.decorators = [
|
|
|
2588
2737
|
* Generated bundle index. Do not edit.
|
|
2589
2738
|
*/
|
|
2590
2739
|
|
|
2591
|
-
export { AreaChartData, AreaChartSettings, BaseAdapter, BaseInterval, BaseSettings, ChartThemes, DateValue, EsAreaChartComponent, EsChartComponent, EsChartsModule, EsLineChartComponent, EsPieChartComponent, EsVertical2DChartComponent, EsVerticalChartComponent, EsVerticalStackedChartComponent, KeyValue, KeyValueColor, LegendPad, LineChartData, LineChartSettings, LineSerie, PagedChartData, PieChartData, PieChartSettings, Vertical2DChartData, Vertical2DChartSettings, VerticalChartData, VerticalChartSettings, VerticalStackedChartData, VerticalStackedChartSettings
|
|
2592
|
-
//# sourceMappingURL=esfaenza-es-charts.
|
|
2740
|
+
export { AreaChartData, AreaChartSettings, BaseAdapter, BaseInterval, BaseSettings, ChartThemes, DateValue, EsAreaChartComponent, EsChartComponent, EsChartsModule, EsLineChartComponent, EsPieChartComponent, EsVertical2DChartComponent, EsVerticalChartComponent, EsVerticalStackedChartComponent, KeyValue, KeyValueColor, LegendPad, Limit, LineChartData, LineChartSettings, LineSerie, PageChartSelector, PagedChartData, PieChartData, PieChartSettings, Vertical2DChartData, Vertical2DChartSettings, VerticalChartData, VerticalChartSettings, VerticalStackedChartData, VerticalStackedChartSettings };
|
|
2741
|
+
//# sourceMappingURL=esfaenza-es-charts.mjs.map
|