Circular Gauge not working after Angular 9 upgrade
Hi,

I upgraded my application from Angular 8.2 to 9 and the circular gauge stopped working. But I don't see any console errors. Below are the screenshots before and after upgrade.
Previous After upgrade
Here is a part of my package.json
"dependencies": {
"@angular/animations": "9.0.6",
"@angular/cdk": "^9.1.2",
"@angular/common": "9.0.6",
"@angular/compiler": "9.0.6",
"@angular/core": "9.0.6",
"@angular/forms": "9.0.6",
"@angular/material": "^9.1.2",
"@angular/platform-browser": "9.0.6",
"@angular/platform-browser-dynamic": "9.0.6",
"@angular/router": "9.0.6",
"@syncfusion/ej2-angular-charts": "^17.4.51",
"@syncfusion/ej2-angular-circulargauge": "^17.4.51",
"core-js": "^2.4.1",
"tslib": "^1.10.0",
"web-animations-js": "^2.3.2",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.900.6",
"@angular-devkit/build-ng-packagr": "~0.900.6",
"@angular-devkit/core": "^9.0.6",
"@angular/cli": "^9.0.6",
"@angular/compiler-cli": "9.0.6",
.........
}
I also tried with angular version of 9.0.2 and still have the same issue
Thanks,
Aparna
SIGN IN To post a reply.
3 Replies
MT
Manikandan Thangapandian
Syncfusion Team
March 26, 2020 01:54 PM UTC
Hi Aparna,
Thank you for your patience.
We have analyzed the reported issue and we can reproduce this issue on the angular 9 version. However, we have an alternate solution for this issue. Instead of providing the complex property as a tag, we can provide it as a property to the component as an array of objects. Please find the code snippet for achieving the same in the angular 9 application.
Code snippet:
|
<e-axis minimum=0 radius='80%' maximum=100 startAngle=210 endAngle=150 [majorTicks]='majorTicks' [labelStyle]='labelStyle'
[lineStyle]='lineStyle' [minorTicks]='minorTicks' [annotations]='annotaions' [ranges]='ranges' [pointers]='pointers'
>
</e-axis>
public pointers: object[] = [
{
value: 60,
type: 'RangeBar',
radius: '70%',
color: 'green',
pointerWidth: 30
}
];
|
We have created a simple sample for your reference and it can be downloaded from the following link.
We will consider the reported issue as a defect and the fix for the issue will be available in our weekly patch release which is expected to be available in the month of April, 2020.
Regards,
Manikandan T
MB
Mark Boyle
April 7, 2020 10:06 AM UTC
Does the same apply for ranges and annotations?
Cheers
Mark
SB
Swetha Babu
Syncfusion Team
April 8, 2020 12:54 PM UTC
Hi Mark,
Thanks for the update.
We have checked your query with circular gauge in Angular 9.0.2 version. We are not able to reproduce the reported issue. Please find the sample below in which we tried to reproduce the reported issues for your reference.
Please find the below screenshot from the sample.
ScreenShot:
Please let us know if the reported issue is resolved with the provided sample. If not, please modify the above sample and share the same to use. It will be helpful for us to analyze further and assist you better.
Regards,
Swetha Babu
SIGN IN To post a reply.
- 3 Replies
- 4 Participants
-
AP Aparna Pyla
- Mar 20, 2020 08:51 PM UTC
- Apr 8, 2020 12:54 PM UTC