@esfaenza/es-charts 13.1.7 → 13.1.8

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.
@@ -288,6 +288,13 @@ export declare abstract class BaseChartComponent implements AfterViewInit, OnDes
288
288
  * @ignore
289
289
  */
290
290
  private log;
291
+ /**
292
+ * Imposta lo zoom dal **from** al **to**
293
+ *
294
+ * @param {Date} from Inizio dello zoom
295
+ * @param {Date} to Fine dello zoom
296
+ */
297
+ setSelection(from: Date, to: Date): void;
291
298
  /**
292
299
  * @ignore
293
300
  */
@@ -5,12 +5,12 @@ import { LineSerie } from './base/LineSerie';
5
5
  */
6
6
  export declare class LineChartData {
7
7
  series: LineSerie[];
8
- limit?: Limit;
8
+ limit?: Limit | Limit[];
9
9
  /**
10
10
  * Costruttore
11
11
  *
12
12
  * @param {LineSerie[]} series Lista di serie da graficare
13
13
  * @param {{upper: lower}}
14
14
  */
15
- constructor(series?: LineSerie[], limit?: Limit);
15
+ constructor(series?: LineSerie[], limit?: Limit | Limit[]);
16
16
  }
@@ -8,6 +8,7 @@ export declare class Limit {
8
8
  lower?: number;
9
9
  lowerlabel?: string;
10
10
  lowercolor?: string;
11
+ fillColor: string;
11
12
  /** @ignore */
12
- constructor(upper?: number, upperlabel?: string, uppercolor?: string, lower?: number, lowerlabel?: string, lowercolor?: string);
13
+ constructor(upper?: number, upperlabel?: string, uppercolor?: string, lower?: number, lowerlabel?: string, lowercolor?: string, fillColor?: string);
13
14
  }
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/es-charts",
3
- "version": "13.1.7",
3
+ "version": "13.1.8",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },