@syncfusion/ej2-charts
Advanced tools
Comparing version 16.1.35 to 16.1.37
@@ -15,2 +15,16 @@ <!-- markdownlint-disable MD010 --> | ||
- Performance related issue, when loading more number of chart in angular has been fixed. | ||
### Accumulation Chart | ||
#### Bug Fixes | ||
- Skipped slice rendering when `y` value as 0. | ||
## 16.1.35 (2018-04-17) | ||
### Common | ||
#### Bug Fixes | ||
- Adding `annotation` dynamically to the chart is now working. | ||
@@ -17,0 +31,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.1.35 | ||
* version : 16.1.37 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-charts", | ||
"version": "16.1.35", | ||
"version": "16.1.37", | ||
"description": "Essential JS 2 Chart Components", | ||
@@ -11,7 +11,7 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.1.35", | ||
"@syncfusion/ej2-data": "~16.1.32", | ||
"@syncfusion/ej2-pdf-export": "~16.1.32", | ||
"@syncfusion/ej2-file-utils": "~16.1.32", | ||
"@syncfusion/ej2-compression": "~16.1.32" | ||
"@syncfusion/ej2-base": "~16.1.37", | ||
"@syncfusion/ej2-data": "~16.1.37", | ||
"@syncfusion/ej2-pdf-export": "~16.1.37", | ||
"@syncfusion/ej2-file-utils": "~16.1.37", | ||
"@syncfusion/ej2-compression": "~16.1.37" | ||
}, | ||
@@ -18,0 +18,0 @@ "devDependencies": { |
@@ -21,3 +21,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var sum = series.sumOfPoints; | ||
var degree = ((Math.abs(point.y) / sum) * (this.totalAngle)); | ||
var degree = (sum) ? ((Math.abs(point.y) / sum) * (this.totalAngle)) : null; | ||
option.d = this.getPathOption(point, degree); | ||
@@ -30,2 +30,5 @@ point.midAngle = (this.startAngle - (degree / 2)) % 360; | ||
PieSeries.prototype.getPathOption = function (point, degree) { | ||
if (degree === null || !point.y) { | ||
return ''; | ||
} | ||
var path = this.getPathArc(this.center, this.startAngle % 360, (this.startAngle + degree) % 360, this.radius, this.innerRadius); | ||
@@ -32,0 +35,0 @@ this.startAngle += degree; |
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
13668994
83054