@esfaenza/es-charts 12.2.9 → 12.2.13

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.
@@ -1,13 +1,16 @@
1
+ import { Limit } from './base/Limit';
1
2
  import { LineSerie } from './base/LineSerie';
2
3
  /**
3
4
  * Dati relativi a un grafico di tipo LineChart
4
5
  */
5
6
  export declare class LineChartData {
6
7
  series: LineSerie[];
8
+ limit?: Limit;
7
9
  /**
8
10
  * Costruttore
9
11
  *
10
12
  * @param {LineSerie[]} series Lista di serie da graficare
13
+ * @param {{upper: lower}}
11
14
  */
12
- constructor(series?: LineSerie[]);
15
+ constructor(series?: LineSerie[], limit?: Limit);
13
16
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Modello che identifica un limite superiore - inferiore
3
+ */
4
+ export declare class Limit {
5
+ upper?: number;
6
+ upperLabel?: string;
7
+ upperColor?: string;
8
+ lower?: number;
9
+ lowerLabel?: string;
10
+ lowerColor?: string;
11
+ /** @ignore */
12
+ constructor(upper?: number, upperLabel?: string, upperColor?: string, lower?: number, lowerLabel?: string, lowerColor?: string);
13
+ }
@@ -9,14 +9,16 @@ export declare class LineSerie {
9
9
  interval?: BaseInterval;
10
10
  color?: string;
11
11
  uom?: string;
12
+ fill?: boolean;
12
13
  /**
13
14
  * Costruttore
14
15
  *
15
16
  * @param {string} name Nome della serie
16
17
  * @param {DateValue[]} values Valori della serie
17
18
  * @param {BaseInterval} interval Intervallo della serie. Viene utilizzato per gestire Gap e date in Istante Finale
18
- * @param {string} color Colore della serie, verrà usato sia per la lineaa base che eventualmente per il riempimento (in caso si utilizzi l'Input **Fill** nel grafico)
19
+ * @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)
19
20
  * @param {string} uom Unità di misura da presentare nell'asse delle Y
21
+ * @param {boolean} fill Override della proprietà **Fill** del grafico, specifico per ogni serie
20
22
  */
21
- constructor(name: string, values: DateValue[], interval?: BaseInterval, color?: string, uom?: string);
23
+ constructor(name: string, values: DateValue[], interval?: BaseInterval, color?: string, uom?: string, fill?: boolean);
22
24
  }
@@ -9,3 +9,4 @@ export * from './classes/base/DateValue';
9
9
  export * from './classes/base/KeyValue';
10
10
  export * from './classes/base/KeyValueColor';
11
11
  export * from './classes/base/LineSerie';
12
+ export * from './classes/base/Limit';
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@esfaenza/es-charts",
3
- "version": "12.2.9",
3
+ "version": "12.2.13",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
7
7
  "peerDependencies": {
8
- "@amcharts/amcharts4": "^4.10.22",
9
- "@angular/common": "~12.2.3",
10
- "@angular/core": "~12.2.3",
11
- "@esfaenza/extensions": "^12.2.7",
12
- "dayjs": "^1.10.6"
8
+ "@amcharts/amcharts4": "4.10.23",
9
+ "@angular/common": "~12.2.15",
10
+ "@angular/core": "~12.2.15",
11
+ "@esfaenza/extensions": "^12.2.13",
12
+ "dayjs": "1.10.7"
13
13
  },
14
14
  "main": "bundles/esfaenza-es-charts.umd.js",
15
15
  "module": "fesm2015/esfaenza-es-charts.js",
package/public-api.d.ts CHANGED
@@ -15,6 +15,7 @@ export * from './lib/models/settings/classes/VerticalStackedChartSettings';
15
15
  export * from './lib/models/settings/classes/base/BaseSettings';
16
16
  export * from './lib/models/settings/classes/base/BaseInterval';
17
17
  export * from './lib/models/settings/classes/base/LegendPad';
18
+ export * from './lib/models/data/classes/base/Limit';
18
19
  export * from './lib/models/data/classes/base/DateValue';
19
20
  export * from './lib/models/data/classes/base/KeyValue';
20
21
  export * from './lib/models/data/classes/base/KeyValueColor';