@progress/kendo-angular-charts 14.1.0-develop.4 → 14.1.0-develop.6
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/chart.component.d.ts +6 -0
- package/common/theme.service.d.ts +1 -0
- package/esm2020/chart.component.mjs +13 -0
- package/esm2020/common/theme.service.mjs +5 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-charts.mjs +20 -2
- package/fesm2020/progress-kendo-angular-charts.mjs +20 -2
- package/package.json +7 -7
package/chart.component.d.ts
CHANGED
|
@@ -410,6 +410,12 @@ export declare class ChartComponent implements ChartOptions, OnChanges, OnInit,
|
|
|
410
410
|
* @hidden
|
|
411
411
|
*/
|
|
412
412
|
onResize(): void;
|
|
413
|
+
/**
|
|
414
|
+
* Reloads the Chart appearance settings from the current [Kendo UI Theme]({% slug themesandstyles %}).
|
|
415
|
+
*
|
|
416
|
+
* Call this method after loading a different theme stylesheet.
|
|
417
|
+
*/
|
|
418
|
+
reloadTheme(): void;
|
|
413
419
|
protected onLegendItemClick(e: any): void;
|
|
414
420
|
protected onInit(e: any): void;
|
|
415
421
|
protected onRender(e: any): void;
|
|
@@ -481,6 +481,19 @@ export class ChartComponent {
|
|
|
481
481
|
this.resize();
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
+
/**
|
|
485
|
+
* Reloads the Chart appearance settings from the current [Kendo UI Theme]({% slug themesandstyles %}).
|
|
486
|
+
*
|
|
487
|
+
* Call this method after loading a different theme stylesheet.
|
|
488
|
+
*/
|
|
489
|
+
reloadTheme() {
|
|
490
|
+
if (!this.instance) {
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
493
|
+
this.themeService.reset();
|
|
494
|
+
this.instance.destroy();
|
|
495
|
+
this.instance = null;
|
|
496
|
+
}
|
|
484
497
|
onLegendItemClick(e) {
|
|
485
498
|
this.run(() => {
|
|
486
499
|
const args = new LegendItemClickEvent(e, this);
|
|
@@ -90,6 +90,11 @@ export class ThemeService extends ConfigurationService {
|
|
|
90
90
|
this.loaded = true;
|
|
91
91
|
this.next();
|
|
92
92
|
}
|
|
93
|
+
reset() {
|
|
94
|
+
this.store = {};
|
|
95
|
+
this.loaded = false;
|
|
96
|
+
this.loadTheme();
|
|
97
|
+
}
|
|
93
98
|
readTheme() {
|
|
94
99
|
this.createElement();
|
|
95
100
|
const available = this.queryColor('primary') !==
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-charts',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '14.1.0-develop.
|
|
12
|
+
publishDate: 1699367149,
|
|
13
|
+
version: '14.1.0-develop.6',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -1871,8 +1871,8 @@ const packageMetadata = {
|
|
|
1871
1871
|
name: '@progress/kendo-angular-charts',
|
|
1872
1872
|
productName: 'Kendo UI for Angular',
|
|
1873
1873
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
1874
|
-
publishDate:
|
|
1875
|
-
version: '14.1.0-develop.
|
|
1874
|
+
publishDate: 1699367149,
|
|
1875
|
+
version: '14.1.0-develop.6',
|
|
1876
1876
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
1877
1877
|
};
|
|
1878
1878
|
|
|
@@ -2222,6 +2222,11 @@ class ThemeService extends ConfigurationService {
|
|
|
2222
2222
|
this.loaded = true;
|
|
2223
2223
|
this.next();
|
|
2224
2224
|
}
|
|
2225
|
+
reset() {
|
|
2226
|
+
this.store = {};
|
|
2227
|
+
this.loaded = false;
|
|
2228
|
+
this.loadTheme();
|
|
2229
|
+
}
|
|
2225
2230
|
readTheme() {
|
|
2226
2231
|
this.createElement();
|
|
2227
2232
|
const available = this.queryColor('primary') !==
|
|
@@ -2799,6 +2804,19 @@ class ChartComponent {
|
|
|
2799
2804
|
this.resize();
|
|
2800
2805
|
}
|
|
2801
2806
|
}
|
|
2807
|
+
/**
|
|
2808
|
+
* Reloads the Chart appearance settings from the current [Kendo UI Theme]({% slug themesandstyles %}).
|
|
2809
|
+
*
|
|
2810
|
+
* Call this method after loading a different theme stylesheet.
|
|
2811
|
+
*/
|
|
2812
|
+
reloadTheme() {
|
|
2813
|
+
if (!this.instance) {
|
|
2814
|
+
return;
|
|
2815
|
+
}
|
|
2816
|
+
this.themeService.reset();
|
|
2817
|
+
this.instance.destroy();
|
|
2818
|
+
this.instance = null;
|
|
2819
|
+
}
|
|
2802
2820
|
onLegendItemClick(e) {
|
|
2803
2821
|
this.run(() => {
|
|
2804
2822
|
const args = new LegendItemClickEvent(e, this);
|
|
@@ -1650,6 +1650,11 @@ class ThemeService extends ConfigurationService {
|
|
|
1650
1650
|
this.loaded = true;
|
|
1651
1651
|
this.next();
|
|
1652
1652
|
}
|
|
1653
|
+
reset() {
|
|
1654
|
+
this.store = {};
|
|
1655
|
+
this.loaded = false;
|
|
1656
|
+
this.loadTheme();
|
|
1657
|
+
}
|
|
1653
1658
|
readTheme() {
|
|
1654
1659
|
this.createElement();
|
|
1655
1660
|
const available = this.queryColor('primary') !==
|
|
@@ -2240,8 +2245,8 @@ const packageMetadata = {
|
|
|
2240
2245
|
name: '@progress/kendo-angular-charts',
|
|
2241
2246
|
productName: 'Kendo UI for Angular',
|
|
2242
2247
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
2243
|
-
publishDate:
|
|
2244
|
-
version: '14.1.0-develop.
|
|
2248
|
+
publishDate: 1699367149,
|
|
2249
|
+
version: '14.1.0-develop.6',
|
|
2245
2250
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
2246
2251
|
};
|
|
2247
2252
|
|
|
@@ -2791,6 +2796,19 @@ class ChartComponent {
|
|
|
2791
2796
|
this.resize();
|
|
2792
2797
|
}
|
|
2793
2798
|
}
|
|
2799
|
+
/**
|
|
2800
|
+
* Reloads the Chart appearance settings from the current [Kendo UI Theme]({% slug themesandstyles %}).
|
|
2801
|
+
*
|
|
2802
|
+
* Call this method after loading a different theme stylesheet.
|
|
2803
|
+
*/
|
|
2804
|
+
reloadTheme() {
|
|
2805
|
+
if (!this.instance) {
|
|
2806
|
+
return;
|
|
2807
|
+
}
|
|
2808
|
+
this.themeService.reset();
|
|
2809
|
+
this.instance.destroy();
|
|
2810
|
+
this.instance = null;
|
|
2811
|
+
}
|
|
2794
2812
|
onLegendItemClick(e) {
|
|
2795
2813
|
this.run(() => {
|
|
2796
2814
|
const args = new LegendItemClickEvent(e, this);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-charts",
|
|
3
|
-
"version": "14.1.0-develop.
|
|
3
|
+
"version": "14.1.0-develop.6",
|
|
4
4
|
"description": "Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
"@angular/platform-browser": "13 - 17",
|
|
48
48
|
"@progress/kendo-drawing": "^1.17.2",
|
|
49
49
|
"@progress/kendo-licensing": "^1.0.2",
|
|
50
|
-
"@progress/kendo-angular-common": "14.1.0-develop.
|
|
51
|
-
"@progress/kendo-angular-intl": "14.1.0-develop.
|
|
52
|
-
"@progress/kendo-angular-l10n": "14.1.0-develop.
|
|
53
|
-
"@progress/kendo-angular-popup": "14.1.0-develop.
|
|
54
|
-
"@progress/kendo-angular-navigation": "14.1.0-develop.
|
|
50
|
+
"@progress/kendo-angular-common": "14.1.0-develop.6",
|
|
51
|
+
"@progress/kendo-angular-intl": "14.1.0-develop.6",
|
|
52
|
+
"@progress/kendo-angular-l10n": "14.1.0-develop.6",
|
|
53
|
+
"@progress/kendo-angular-popup": "14.1.0-develop.6",
|
|
54
|
+
"@progress/kendo-angular-navigation": "14.1.0-develop.6",
|
|
55
55
|
"hammerjs": "^2.0.0",
|
|
56
56
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"tslib": "^2.3.1",
|
|
60
|
-
"@progress/kendo-angular-schematics": "14.1.0-develop.
|
|
60
|
+
"@progress/kendo-angular-schematics": "14.1.0-develop.6",
|
|
61
61
|
"@progress/kendo-charts": "^1.32.0",
|
|
62
62
|
"@progress/kendo-svg-icons": "^2.0.0"
|
|
63
63
|
},
|