@esfaenza/es-charts 11.2.23 → 11.2.26
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 +42 -12
- 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.metadata.json +1 -1
- package/esm2015/lib/components/base/base-chart.component.js +10 -1
- package/esm2015/lib/models/data/base/Limit.js +6 -6
- package/esm2015/lib/services/AreaChartService.js +4 -1
- package/esm2015/lib/services/LineChartService.js +14 -8
- package/esm2015/lib/services/PieChartService.js +4 -1
- package/esm2015/lib/services/Vertical2DChartService.js +4 -1
- package/esm2015/lib/services/VerticalChartService.js +4 -1
- package/esm2015/lib/services/VerticalStackedChartService.js +4 -1
- package/esm2015/lib/services/base/IBaseService.js +1 -1
- package/fesm2015/esfaenza-es-charts.js +42 -12
- package/fesm2015/esfaenza-es-charts.js.map +1 -1
- package/lib/components/base/base-chart.component.d.ts +7 -0
- package/lib/models/data/base/Limit.d.ts +5 -5
- package/lib/services/AreaChartService.d.ts +2 -0
- package/lib/services/LineChartService.d.ts +4 -0
- package/lib/services/PieChartService.d.ts +2 -0
- package/lib/services/Vertical2DChartService.d.ts +2 -0
- package/lib/services/VerticalChartService.d.ts +2 -0
- package/lib/services/VerticalStackedChartService.d.ts +2 -0
- package/lib/services/base/IBaseService.d.ts +7 -0
- package/package.json +1 -1
|
@@ -287,6 +287,13 @@ export declare abstract class BaseChartComponent implements AfterViewInit, OnDes
|
|
|
287
287
|
* @ignore
|
|
288
288
|
*/
|
|
289
289
|
private log;
|
|
290
|
+
/**
|
|
291
|
+
* Imposta lo zoom dal **from** al **to**
|
|
292
|
+
*
|
|
293
|
+
* @param {Date} from Inizio dello zoom
|
|
294
|
+
* @param {Date} to Fine dello zoom
|
|
295
|
+
*/
|
|
296
|
+
setSelection(from: Date, to: Date): void;
|
|
290
297
|
/**
|
|
291
298
|
* @ignore
|
|
292
299
|
*/
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare class Limit {
|
|
5
5
|
upper?: number;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
upperlabel?: string;
|
|
7
|
+
uppercolor?: string;
|
|
8
8
|
lower?: number;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
lowerlabel?: string;
|
|
10
|
+
lowercolor?: string;
|
|
11
11
|
/** @ignore */
|
|
12
|
-
constructor(upper?: number,
|
|
12
|
+
constructor(upper?: number, upperlabel?: string, uppercolor?: string, lower?: number, lowerlabel?: string, lowercolor?: string);
|
|
13
13
|
}
|
|
@@ -17,6 +17,8 @@ export declare class AreaChartService implements IBaseService<am4charts.XYChart>
|
|
|
17
17
|
*/
|
|
18
18
|
graphicate(data: AreaChartData | any, settings: AreaChartSettings): IBaseService<am4charts.XYChart>;
|
|
19
19
|
/** @ignore */
|
|
20
|
+
setSelection(from: Date, to: Date): void;
|
|
21
|
+
/** @ignore */
|
|
20
22
|
refreshData(data: AreaChartData | any): void;
|
|
21
23
|
/** @ignore */
|
|
22
24
|
private emitSelectionChanged;
|
|
@@ -20,11 +20,15 @@ export declare class LineChartService implements IBaseService<am4charts.XYChart>
|
|
|
20
20
|
private singleDataSet;
|
|
21
21
|
/** @ignore */
|
|
22
22
|
constructor(Adapter: BaseAdapter, dateExts: DateService);
|
|
23
|
+
/** Rifeirmento interno all'asse delle Date per semplicità */
|
|
24
|
+
private dateAxis;
|
|
23
25
|
/**
|
|
24
26
|
* Metodo che data una coppia Dati - Impostazioni li utilizza per creare e visualizzare un LineChart
|
|
25
27
|
*/
|
|
26
28
|
graphicate(data: LineChartData | any, settings: LineChartSettings): IBaseService<am4charts.XYChart>;
|
|
27
29
|
/** @ignore */
|
|
30
|
+
setSelection(from: Date, to: Date): void;
|
|
31
|
+
/** @ignore */
|
|
28
32
|
refreshData(data: LineChartData | any): void;
|
|
29
33
|
/** Partendo da dati divisi per seriue genera un dataset unito con la data come chiave e i vari valori dopo */
|
|
30
34
|
private generateSingleDataset;
|
|
@@ -19,6 +19,8 @@ export declare class PieChartService implements IBaseService<am4charts.PieChart>
|
|
|
19
19
|
*/
|
|
20
20
|
graphicate(data: PieChartData | any, settings: PieChartSettings): IBaseService<am4charts.PieChart>;
|
|
21
21
|
/** @ignore */
|
|
22
|
+
setSelection(from: Date, to: Date): void;
|
|
23
|
+
/** @ignore */
|
|
22
24
|
refreshData(data: PieChartData | any): void;
|
|
23
25
|
/** @ignore */
|
|
24
26
|
private hideZeroes;
|
|
@@ -29,6 +29,8 @@ export declare class Vertical2DChartService implements IBaseService<am4charts.XY
|
|
|
29
29
|
*/
|
|
30
30
|
graphicate(data: Vertical2DChartData | any, settings: Vertical2DChartSettings): IBaseService<am4charts.XYChart>;
|
|
31
31
|
/** @ignore */
|
|
32
|
+
setSelection(from: Date, to: Date): void;
|
|
33
|
+
/** @ignore */
|
|
32
34
|
refreshData(data: Vertical2DChartData | any): void;
|
|
33
35
|
/** @ignore */
|
|
34
36
|
private createSeries;
|
|
@@ -27,5 +27,7 @@ export declare class VerticalChartService implements IBaseService<am4charts.XYCh
|
|
|
27
27
|
*/
|
|
28
28
|
graphicate(data: VerticalChartData | any, settings: VerticalChartSettings): IBaseService<am4charts.XYChart>;
|
|
29
29
|
/** @ignore */
|
|
30
|
+
setSelection(from: Date, to: Date): void;
|
|
31
|
+
/** @ignore */
|
|
30
32
|
refreshData(data: VerticalChartData | any): void;
|
|
31
33
|
}
|
|
@@ -27,6 +27,8 @@ export declare class VerticalStackedChartService implements IBaseService<am4char
|
|
|
27
27
|
*/
|
|
28
28
|
graphicate(data: VerticalStackedChartData | any, settings: VerticalStackedChartSettings): IBaseService<am4charts.XYChart>;
|
|
29
29
|
/** @ignore */
|
|
30
|
+
setSelection(from: Date, to: Date): void;
|
|
31
|
+
/** @ignore */
|
|
30
32
|
refreshData(data: VerticalStackedChartData | any): void;
|
|
31
33
|
/** @ignore */
|
|
32
34
|
private createSeriesStacked;
|
|
@@ -28,4 +28,11 @@ export interface IBaseService<T> {
|
|
|
28
28
|
* @param {any} data Nuovi dati da sostituire a quelli precedenti
|
|
29
29
|
*/
|
|
30
30
|
refreshData(data: any): void;
|
|
31
|
+
/**
|
|
32
|
+
* Imposta lo zoom dal **from** al **to**
|
|
33
|
+
*
|
|
34
|
+
* @param {Date} from Inizio dello zoom
|
|
35
|
+
* @param {Date} to Fine dello zoom
|
|
36
|
+
*/
|
|
37
|
+
setSelection(from: Date, to: Date): void;
|
|
31
38
|
}
|