@syncfusion/ej2-circulargauge
Advanced tools
Comparing version 19.2.47 to 19.2.49
@@ -11,2 +11,10 @@ <!-- markdownlint-disable MD004 --> | ||
- `#I334929` - When the `moveToCenter` property is enabled, the Circular Gauge will now be in the centre, with a `startAngle` of **241** to **269** and an `endAngle` of **150**. | ||
## 19.2.47 (2021-07-13) | ||
### CircularGauge | ||
#### Bug Fixes | ||
- `#I333600` - No script errors are thrown when the same start and end values are set in the range using the `setRangeValue()` method. | ||
@@ -13,0 +21,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 19.2.47 | ||
* version : 19.2.49 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-circulargauge@*", | ||
"_id": "@syncfusion/ej2-circulargauge@19.2.46", | ||
"_id": "@syncfusion/ej2-circulargauge@19.2.47", | ||
"_inBundle": false, | ||
"_integrity": "sha512-L1MBbD+GBw33mig164yzCRgK2bzWV+kkaXuJfrXIydYNnFqzMo6kseGolzaYThvmPW+KTQlE9bKpfZFufZaHfg==", | ||
"_integrity": "sha512-hONuuX2SAjKJpewQpjEVdl2qTjctK2StD6gFPzJ0k3qw5tRVJfjGkD1IYtz46jksnUh8Bblli2cUVcy9W4u3Xg==", | ||
"_location": "/@syncfusion/ej2-circulargauge", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-circulargauge/-/ej2-circulargauge-19.2.46.tgz", | ||
"_shasum": "9f07b0306c0ed8b834c4e1dfa4821b034b219e92", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-circulargauge/-/ej2-circulargauge-19.2.47.tgz", | ||
"_shasum": "9da4f11ebc05219de123fcedaf11a66e07826756", | ||
"_spec": "@syncfusion/ej2-circulargauge@*", | ||
@@ -39,4 +39,4 @@ "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~19.2.47", | ||
"@syncfusion/ej2-pdf-export": "~19.2.46", | ||
"@syncfusion/ej2-base": "~19.2.49", | ||
"@syncfusion/ej2-pdf-export": "~19.2.49", | ||
"@syncfusion/ej2-svg-base": "~19.2.44" | ||
@@ -74,4 +74,4 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "19.2.47", | ||
"version": "19.2.49", | ||
"sideEffects": false | ||
} |
@@ -116,3 +116,4 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
startXDiff = Math.abs(this_1.gauge.gaugeRect.x - Math.abs(newPoint.x - this_1.gauge.gaugeRect.x)); | ||
newPoint = (endAngle >= 180 && endAngle <= 360) ? this_1.gauge.midPoint : endPoint; | ||
newPoint = (endAngle >= 180 && endAngle <= 360) ? this_1.gauge.midPoint : (endAngle <= 90) ? endPoint : | ||
getLocationFromAngle(0, currentRadius, this_1.gauge.midPoint); | ||
endXDiff = Math.abs(newPoint.x - this_1.gauge.gaugeRect.width); | ||
@@ -122,3 +123,5 @@ newPoint = (endAngle > 180 && endAngle < 270) ? this_1.gauge.midPoint : (endAngle >= 270 && endAngle <= 360) ? | ||
startYDiff = Math.abs(newPoint.y - this_1.gauge.gaugeRect.y); | ||
endYDiff = Math.abs(startPoint.y - (this_1.gauge.gaugeRect.y + this_1.gauge.gaugeRect.height)); | ||
endPoint = (endAngle <= 360 && endAngle >= 270 || (endAngle >= 0 && endAngle < 90)) ? | ||
startPoint : ((270 - startAngle) < (endAngle - 90)) ? endPoint : startPoint; | ||
endYDiff = Math.abs(endPoint.y - (this_1.gauge.gaugeRect.y + this_1.gauge.gaugeRect.height)); | ||
} | ||
@@ -198,3 +201,3 @@ if ((!isNullOrUndefined(startXDiff) && !isNullOrUndefined(endXDiff) && !isNullOrUndefined(startYDiff) && | ||
var interval = axis.majorTicks.interval; | ||
var minimumValue = Math.min(axis.minimum === null ? 0 : axis.minimum, axis.maximum); | ||
var minimumValue = Math.min(axis.minimum === null ? 0 : axis.minimum, axis.maximum !== null ? axis.maximum : 100); | ||
var maximumValue = Math.max(axis.minimum, axis.maximum === null ? 100 : axis.maximum); | ||
@@ -201,0 +204,0 @@ axis.pointers.map(function (pointer) { |
@@ -797,2 +797,6 @@ var __extends = (this && this.__extends) || (function () { | ||
this.titleStyle.fontWeight = this.titleStyle.fontWeight || this.themeStyle.titleFontWeight; | ||
var titleSize = this.titleStyle.size; | ||
if (!isNaN(Number(titleSize))) { | ||
this.titleStyle.size = titleSize + 'px'; | ||
} | ||
var size = measureText(this.title, this.titleStyle); | ||
@@ -799,0 +803,0 @@ var options = new TextOption(this.element.id + '_CircularGaugeTitle', this.availableSize.width / 2, this.margin.top + 3 * (size.height / 4), 'middle', this.title); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3581190
27422