@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.
@@ -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
- upperLabel?: string;
7
- upperColor?: string;
6
+ upperlabel?: string;
7
+ uppercolor?: string;
8
8
  lower?: number;
9
- lowerLabel?: string;
10
- lowerColor?: string;
9
+ lowerlabel?: string;
10
+ lowercolor?: string;
11
11
  /** @ignore */
12
- constructor(upper?: number, upperLabel?: string, upperColor?: string, lower?: number, lowerLabel?: string, lowerColor?: string);
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/es-charts",
3
- "version": "11.2.23",
3
+ "version": "11.2.26",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },