@esfaenza/es-charts 13.3.2 → 14.2.0
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/esm2020/lib/adapters/BaseAdapter.mjs +4 -4
- package/esm2020/lib/components/base/base-chart.component.mjs +4 -4
- package/esm2020/lib/components/chart-pager/chart-pager.component.mjs +4 -4
- package/esm2020/lib/components/specializations/es-area-chart.component.mjs +7 -7
- package/esm2020/lib/components/specializations/es-chart.component.mjs +7 -7
- package/esm2020/lib/components/specializations/es-line-chart.component.mjs +7 -7
- package/esm2020/lib/components/specializations/es-pie-chart.component.mjs +7 -7
- package/esm2020/lib/components/specializations/es-vertical-2d-chart.component.mjs +7 -7
- package/esm2020/lib/components/specializations/es-vertical-chart.component.mjs +7 -7
- package/esm2020/lib/components/specializations/es-vertical-stacked-chart.component.mjs +7 -7
- package/esm2020/lib/es-charts.module.mjs +5 -5
- package/esm2020/lib/models/core/ChartDispatcher.mjs +4 -4
- package/esm2020/lib/models/data/Vertical2DChartData.mjs +4 -4
- package/esm2020/lib/services/LineChartService.mjs +13 -11
- package/esm2020/lib/services/Vertical2DChartService.mjs +3 -3
- package/fesm2015/esfaenza-es-charts.mjs +63 -61
- package/fesm2015/esfaenza-es-charts.mjs.map +1 -1
- package/fesm2020/esfaenza-es-charts.mjs +62 -60
- package/fesm2020/esfaenza-es-charts.mjs.map +1 -1
- package/{esfaenza-es-charts.d.ts → index.d.ts} +0 -0
- package/lib/components/base/base-chart.component.d.ts +1 -1
- package/lib/components/chart-pager/chart-pager.component.d.ts +1 -1
- package/lib/components/specializations/es-area-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-line-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-pie-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-vertical-2d-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-vertical-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-vertical-stacked-chart.component.d.ts +1 -1
- package/lib/models/data/Vertical2DChartData.d.ts +3 -3
- package/package.json +7 -7
|
File without changes
|
|
@@ -300,5 +300,5 @@ export declare abstract class BaseChartComponent implements AfterViewInit, OnDes
|
|
|
300
300
|
*/
|
|
301
301
|
browserOnly(f: () => void): void;
|
|
302
302
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartComponent, never>;
|
|
303
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseChartComponent, never, never, { "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"; }, { "onSelectionChanged": "onSelectionChanged"; "onSeriesClicked": "onSeriesClicked"; "onLoadStart": "onLoadStart"; "onLoadEnd": "onLoadEnd"; "chartLoaded": "chartLoaded"; }, ["header_tr", "loading_template"]>;
|
|
303
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseChartComponent, never, never, { "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"; }, { "onSelectionChanged": "onSelectionChanged"; "onSeriesClicked": "onSeriesClicked"; "onLoadStart": "onLoadStart"; "onLoadEnd": "onLoadEnd"; "chartLoaded": "chartLoaded"; }, ["header_tr", "loading_template"], never, false>;
|
|
304
304
|
}
|
|
@@ -66,5 +66,5 @@ export declare class PageChartSelector {
|
|
|
66
66
|
*/
|
|
67
67
|
Previous(): void;
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageChartSelector, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageChartSelector, "chart-pager", never, { "Items": "Items"; "Dtos": "Dtos"; "BrowseDelayMs": "BrowseDelayMs"; "StartIndex": "StartIndex"; }, { "onPageChange": "onPageChange"; }, ["headerInner_tr"], never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageChartSelector, "chart-pager", never, { "Items": "Items"; "Dtos": "Dtos"; "BrowseDelayMs": "BrowseDelayMs"; "StartIndex": "StartIndex"; }, { "onPageChange": "onPageChange"; }, ["headerInner_tr"], never, false>;
|
|
70
70
|
}
|
|
@@ -48,5 +48,5 @@ export declare class EsAreaChartComponent extends BaseChartComponent {
|
|
|
48
48
|
*/
|
|
49
49
|
graphicate(settingsCasted: AreaChartSettings): any;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<EsAreaChartComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsAreaChartComponent, "es-area-chart", never, { "Data": "Data"; "DataArray": "DataArray"; }, {}, never, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsAreaChartComponent, "es-area-chart", never, { "Data": "Data"; "DataArray": "DataArray"; }, {}, never, never, false>;
|
|
52
52
|
}
|
|
@@ -66,5 +66,5 @@ export declare class EsChartComponent extends BaseChartComponent {
|
|
|
66
66
|
*/
|
|
67
67
|
graphicate(settings: PieChartSettings | AreaChartSettings | LineChartSettings | VerticalChartSettings | Vertical2DChartSettings | VerticalStackedChartSettings): any;
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<EsChartComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsChartComponent, "es-chart", never, { "Type": "Type"; "Data": "Data"; "DataArray": "DataArray"; }, {}, never, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsChartComponent, "es-chart", never, { "Type": "Type"; "Data": "Data"; "DataArray": "DataArray"; }, {}, never, never, false>;
|
|
70
70
|
}
|
|
@@ -103,5 +103,5 @@ export declare class EsLineChartComponent extends BaseChartComponent {
|
|
|
103
103
|
*/
|
|
104
104
|
graphicate(settingsCasted: LineChartSettings): any;
|
|
105
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<EsLineChartComponent, never>;
|
|
106
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsLineChartComponent, "es-line-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "Step": "Step"; "DataGroupBucketSize": "DataGroupBucketSize"; "DataGroupingThreshold": "DataGroupingThreshold"; "StrokeSize": "StrokeSize"; "AllowGaps": "AllowGaps"; "MergeDatasets": "MergeDatasets"; "FinalInstants": "FinalInstants"; "Min": "Min"; "Max": "Max"; "Fill": "Fill"; }, {}, never, never>;
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsLineChartComponent, "es-line-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "Step": "Step"; "DataGroupBucketSize": "DataGroupBucketSize"; "DataGroupingThreshold": "DataGroupingThreshold"; "StrokeSize": "StrokeSize"; "AllowGaps": "AllowGaps"; "MergeDatasets": "MergeDatasets"; "FinalInstants": "FinalInstants"; "Min": "Min"; "Max": "Max"; "Fill": "Fill"; }, {}, never, never, false>;
|
|
107
107
|
}
|
|
@@ -76,5 +76,5 @@ export declare class EsPieChartComponent extends BaseChartComponent {
|
|
|
76
76
|
*/
|
|
77
77
|
graphicate(settingsCasted: PieChartSettings): any;
|
|
78
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<EsPieChartComponent, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsPieChartComponent, "es-pie-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "HideZeroes": "HideZeroes"; "Mode3D": "Mode3D"; "DonutRadiusPercentage": "DonutRadiusPercentage"; "LabelsWrap": "LabelsWrap"; "LabelsTruncate": "LabelsTruncate"; "LabelsWidth": "LabelsWidth"; "LabelsVisible": "LabelsVisible"; }, {}, never, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsPieChartComponent, "es-pie-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "HideZeroes": "HideZeroes"; "Mode3D": "Mode3D"; "DonutRadiusPercentage": "DonutRadiusPercentage"; "LabelsWrap": "LabelsWrap"; "LabelsTruncate": "LabelsTruncate"; "LabelsWidth": "LabelsWidth"; "LabelsVisible": "LabelsVisible"; }, {}, never, never, false>;
|
|
80
80
|
}
|
|
@@ -74,5 +74,5 @@ export declare class EsVertical2DChartComponent extends BaseChartComponent {
|
|
|
74
74
|
*/
|
|
75
75
|
graphicate(settingsCasted: Vertical2DChartSettings): any;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<EsVertical2DChartComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsVertical2DChartComponent, "es-vertical-2d-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "ColumnWidthPercentage": "ColumnWidthPercentage"; "GroupPaddingPercentage": "GroupPaddingPercentage"; "LabelWidth": "LabelWidth"; "LabelVerticalOrientationCutoffWidth": "LabelVerticalOrientationCutoffWidth"; "LabelRightWhenCompressed": "LabelRightWhenCompressed"; "LabelTopWhenCompressed": "LabelTopWhenCompressed"; }, {}, never, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsVertical2DChartComponent, "es-vertical-2d-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "ColumnWidthPercentage": "ColumnWidthPercentage"; "GroupPaddingPercentage": "GroupPaddingPercentage"; "LabelWidth": "LabelWidth"; "LabelVerticalOrientationCutoffWidth": "LabelVerticalOrientationCutoffWidth"; "LabelRightWhenCompressed": "LabelRightWhenCompressed"; "LabelTopWhenCompressed": "LabelTopWhenCompressed"; }, {}, never, never, false>;
|
|
78
78
|
}
|
|
@@ -69,5 +69,5 @@ export declare class EsVerticalChartComponent extends BaseChartComponent {
|
|
|
69
69
|
*/
|
|
70
70
|
graphicate(settingsCasted: VerticalChartSettings): any;
|
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<EsVerticalChartComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsVerticalChartComponent, "es-vertical-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "ColumnWidthPercentage": "ColumnWidthPercentage"; "LabelWidth": "LabelWidth"; "LabelVerticalOrientationCutoffWidth": "LabelVerticalOrientationCutoffWidth"; "LabelRightWhenCompressed": "LabelRightWhenCompressed"; "LabelTopWhenCompressed": "LabelTopWhenCompressed"; }, {}, never, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsVerticalChartComponent, "es-vertical-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "ColumnWidthPercentage": "ColumnWidthPercentage"; "LabelWidth": "LabelWidth"; "LabelVerticalOrientationCutoffWidth": "LabelVerticalOrientationCutoffWidth"; "LabelRightWhenCompressed": "LabelRightWhenCompressed"; "LabelTopWhenCompressed": "LabelTopWhenCompressed"; }, {}, never, never, false>;
|
|
73
73
|
}
|
|
@@ -69,5 +69,5 @@ export declare class EsVerticalStackedChartComponent extends BaseChartComponent
|
|
|
69
69
|
*/
|
|
70
70
|
graphicate(settingsCasted: VerticalStackedChartSettings): any;
|
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<EsVerticalStackedChartComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EsVerticalStackedChartComponent, "es-vertical-stacked-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "ColumnWidthPercentage": "ColumnWidthPercentage"; "LabelWidth": "LabelWidth"; "LabelVerticalOrientationCutoffWidth": "LabelVerticalOrientationCutoffWidth"; "LabelRightWhenCompressed": "LabelRightWhenCompressed"; "LabelTopWhenCompressed": "LabelTopWhenCompressed"; }, {}, never, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsVerticalStackedChartComponent, "es-vertical-stacked-chart", never, { "Data": "Data"; "DataArray": "DataArray"; "ColumnWidthPercentage": "ColumnWidthPercentage"; "LabelWidth": "LabelWidth"; "LabelVerticalOrientationCutoffWidth": "LabelVerticalOrientationCutoffWidth"; "LabelRightWhenCompressed": "LabelRightWhenCompressed"; "LabelTopWhenCompressed": "LabelTopWhenCompressed"; }, {}, never, never, false>;
|
|
73
73
|
}
|
|
@@ -7,19 +7,19 @@ export declare class Vertical2DChartData {
|
|
|
7
7
|
name: string;
|
|
8
8
|
values: KeyValue[];
|
|
9
9
|
}[];
|
|
10
|
-
|
|
10
|
+
colorinfos?: {
|
|
11
11
|
color: string;
|
|
12
12
|
}[];
|
|
13
13
|
/**
|
|
14
14
|
* Costruttore
|
|
15
15
|
*
|
|
16
16
|
* @param {{ name: string; values: KeyValue[]; }[]} groups Gruppi di valori raggruppati per nome
|
|
17
|
-
* @param {{ color: string }[]}
|
|
17
|
+
* @param {{ color: string }[]} colorinfos Lista dei colori da utilizzare. Vanno a sovrascrivere quelli di default di amcharts
|
|
18
18
|
*/
|
|
19
19
|
constructor(groups?: {
|
|
20
20
|
name: string;
|
|
21
21
|
values: KeyValue[];
|
|
22
|
-
}[],
|
|
22
|
+
}[], colorinfos?: {
|
|
23
23
|
color: string;
|
|
24
24
|
}[]);
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esfaenza/es-charts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.2.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.0.0"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
8
|
"@amcharts/amcharts4": "4.10.25",
|
|
9
|
-
"@angular/common": "~13.3.
|
|
10
|
-
"@angular/core": "~13.3.
|
|
11
|
-
"@esfaenza/extensions": "^13.3.
|
|
12
|
-
"dayjs": "1.11.
|
|
9
|
+
"@angular/common": "~13.3.11",
|
|
10
|
+
"@angular/core": "~13.3.11",
|
|
11
|
+
"@esfaenza/extensions": "^13.3.5",
|
|
12
|
+
"dayjs": "1.11.3"
|
|
13
13
|
},
|
|
14
14
|
"module": "fesm2015/esfaenza-es-charts.mjs",
|
|
15
15
|
"es2020": "fesm2020/esfaenza-es-charts.mjs",
|
|
16
16
|
"esm2020": "esm2020/esfaenza-es-charts.mjs",
|
|
17
17
|
"fesm2020": "fesm2020/esfaenza-es-charts.mjs",
|
|
18
18
|
"fesm2015": "fesm2015/esfaenza-es-charts.mjs",
|
|
19
|
-
"typings": "
|
|
19
|
+
"typings": "index.d.ts",
|
|
20
20
|
"exports": {
|
|
21
21
|
"./package.json": {
|
|
22
22
|
"default": "./package.json"
|
|
23
23
|
},
|
|
24
24
|
".": {
|
|
25
|
-
"types": "./
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
26
|
"esm2020": "./esm2020/esfaenza-es-charts.mjs",
|
|
27
27
|
"es2020": "./fesm2020/esfaenza-es-charts.mjs",
|
|
28
28
|
"es2015": "./fesm2015/esfaenza-es-charts.mjs",
|