@progress/kendo-angular-charts 5.3.1 → 5.4.0-dev.202111261206

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.
@@ -185,7 +185,9 @@ var ChartComponent = /** @class */ (function (_super) {
185
185
  };
186
186
  ChartComponent.prototype.ngOnDestroy = function () {
187
187
  this.destroyed = true;
188
- this.subscription.unsubscribe();
188
+ if (this.subscription) {
189
+ this.subscription.unsubscribe();
190
+ }
189
191
  if (this.domSubscriptions) {
190
192
  this.domSubscriptions();
191
193
  this.domSubscriptions = null;
@@ -9,7 +9,7 @@ export var packageMetadata = {
9
9
  name: '@progress/kendo-angular-charts',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1634031301,
12
+ publishDate: 1637928218,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -131,9 +131,9 @@ export declare class ChartComponent extends ChartComponentGenerated implements O
131
131
  protected suppressTransitions: boolean;
132
132
  protected resizeTimeout: any;
133
133
  protected redrawTimeout: any;
134
- protected domSubscriptions: any;
134
+ protected domSubscriptions: () => void;
135
135
  protected destroyed: boolean;
136
- protected subscriptions: any;
136
+ protected subscriptions: Subscription;
137
137
  protected rtl: boolean;
138
138
  protected hostClasses: string[];
139
139
  constructor(configurationService: ConfigurationService, themeService: ThemeService, element: ElementRef, intl: IntlService, localizationService: LocalizationService, ngZone: NgZone, instanceEventService: InstanceEventService, changeDetector: ChangeDetectorRef, renderer: Renderer2);
@@ -180,7 +180,9 @@ let ChartComponent = class ChartComponent extends ChartComponentGenerated {
180
180
  }
181
181
  ngOnDestroy() {
182
182
  this.destroyed = true;
183
- this.subscription.unsubscribe();
183
+ if (this.subscription) {
184
+ this.subscription.unsubscribe();
185
+ }
184
186
  if (this.domSubscriptions) {
185
187
  this.domSubscriptions();
186
188
  this.domSubscriptions = null;
@@ -11,4 +11,12 @@ export interface MousewheelZoom {
11
11
  * Specifies an axis that should not be zoomed.
12
12
  */
13
13
  lock?: LockAxis;
14
+ /**
15
+ * Specifies the zoom rate as percentage of the axis range. The default value is 0.3 or 30% of the axis range.
16
+ *
17
+ * The accepted range is from 0.01 to 0.9 (1% to 90%).
18
+ *
19
+ * @default 0.3
20
+ */
21
+ rate?: number;
14
22
  }
@@ -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: 1634031301,
12
+ publishDate: 1637928218,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -24,7 +24,7 @@ const packageMetadata = {
24
24
  name: '@progress/kendo-angular-charts',
25
25
  productName: 'Kendo UI for Angular',
26
26
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
27
- publishDate: 1634031301,
27
+ publishDate: 1637928218,
28
28
  version: '',
29
29
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
30
30
  };
@@ -2805,7 +2805,9 @@ let ChartComponent = class ChartComponent extends ChartComponentGenerated {
2805
2805
  }
2806
2806
  ngOnDestroy() {
2807
2807
  this.destroyed = true;
2808
- this.subscription.unsubscribe();
2808
+ if (this.subscription) {
2809
+ this.subscription.unsubscribe();
2810
+ }
2809
2811
  if (this.domSubscriptions) {
2810
2812
  this.domSubscriptions();
2811
2813
  this.domSubscriptions = null;
@@ -24,7 +24,7 @@ var packageMetadata = {
24
24
  name: '@progress/kendo-angular-charts',
25
25
  productName: 'Kendo UI for Angular',
26
26
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
27
- publishDate: 1634031301,
27
+ publishDate: 1637928218,
28
28
  version: '',
29
29
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
30
30
  };
@@ -2906,7 +2906,9 @@ var ChartComponent = /** @class */ (function (_super) {
2906
2906
  };
2907
2907
  ChartComponent.prototype.ngOnDestroy = function () {
2908
2908
  this.destroyed = true;
2909
- this.subscription.unsubscribe();
2909
+ if (this.subscription) {
2910
+ this.subscription.unsubscribe();
2911
+ }
2910
2912
  if (this.domSubscriptions) {
2911
2913
  this.domSubscriptions();
2912
2914
  this.domSubscriptions = null;
@@ -187,7 +187,9 @@ var ChartComponent = /** @class */ (function (_super) {
187
187
  };
188
188
  ChartComponent.prototype.ngOnDestroy = function () {
189
189
  this.destroyed = true;
190
- this.subscription.unsubscribe();
190
+ if (this.subscription) {
191
+ this.subscription.unsubscribe();
192
+ }
191
193
  if (this.domSubscriptions) {
192
194
  this.domSubscriptions();
193
195
  this.domSubscriptions = null;
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-charts',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1634031301,
14
+ publishDate: 1637928218,
15
15
  version: '',
16
16
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
17
17
  };