Skip to content

Commit 9066901

Browse files
author
pipeline
committed
v19.2.59 is released
1 parent 409852a commit 9066901

File tree

112 files changed

+3966
-584
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+3966
-584
lines changed

controls/buttons/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.2.57 (2021-08-24)
5+
## 19.2.59 (2021-08-31)
66

77
### Checkbox
88

controls/charts/CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,28 @@
22

33
## [Unreleased]
44

5+
## 19.2.59 (2021-08-31)
6+
7+
### Chart
8+
9+
- `#I340170` - Resolved console error thrown on mouse move after removing the chart.
10+
- Accumulation chart explode is now working properly.
11+
- `339227` - Logarithmic axis is now working fine for data value below 1.
12+
513
## 19.2.57 (2021-08-24)
614

715
### Chart
816

917
#### Bug Fixes
1018

19+
- `#337302` - Browser responsive issue while zooming the chart has been fixed.
20+
21+
## 19.2.56 (2021-08-17)
22+
23+
### Chart
24+
25+
#### Bug Fixes
26+
1127
- `#337487` - Query selector issue fixed for container ID.
1228

1329
## 19.2.55 (2021-08-11)
@@ -1476,4 +1492,4 @@ Graphics (SVG).
14761492
- **Animation** - Chart series will be animated when rendering and refreshing the chart widget.
14771493
- **User Interaction** - Supports interactive features that are zooming, panning, crosshair, trackball, tooltip, and data point selection.
14781494
- **Annotation** - Supports annotation to mark a specific area in chart.
1479-
- **Export** - Supports to print the chart directly from the browser and exports the chart in both JPEG and PNG format.
1495+
- **Export** - Supports to print the chart directly from the browser and exports the chart in both JPEG and PNG format.

controls/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-charts",
3-
"version": "19.2.55",
3+
"version": "19.2.57",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/spec/chart/scrollbar/scrollbar-multiple.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ describe('Scrollbar Chart', () => {
9696
trigger.draganddropEvent(ele, 200, 200, 350, 350);
9797
let svgChildEleX: Element = document.getElementById('container_scrollBar_svgprimaryXAxis').children[0];
9898
let thumbRectEleX: Element = svgChildEleX.children[1].children[0];
99-
expect(thumbRectEleX.getAttribute('x') === '156.41452639545386' || thumbRectEleX.getAttribute('x') === '161.14452850120242').toBe(true);
99+
expect(parseInt(thumbRectEleX.getAttribute('x'), 10) === 156
100+
|| parseInt(thumbRectEleX.getAttribute('x'), 10) === 161).toBe(true);
100101
expect(thumbRectEleX.getAttribute('y') === '0').toBe(true);
101102
expect(thumbRectEleX.getAttribute('height') === '16').toBe(true);
102103
expect(thumbRectEleX.getAttribute('width') === '40').toBe(true);
@@ -118,8 +119,7 @@ describe('Scrollbar Chart', () => {
118119
let svgChildEleX: Element = document.getElementById('container_scrollBar_svgprimaryXAxis').children[0];
119120
let thumbRectEleX: Element = svgChildEleX.children[1].children[0];
120121
let xAxisThumbX: string = thumbRectEleX.getAttribute('x');
121-
expect(xAxisThumbX === '157.59707074139632' || xAxisThumbX === '157.79394403401517'
122-
|| xAxisThumbX === '162.35513365043468').toBe(true);
122+
expect(parseInt(xAxisThumbX, 10) === 158 || parseInt(xAxisThumbX, 10) === 162).toBe(true);
123123
expect(thumbRectEleX.getAttribute('y') === '0').toBe(true);
124124
expect(thumbRectEleX.getAttribute('height') === '16').toBe(true);
125125
expect(thumbRectEleX.getAttribute('width') === '40').toBe(true);

controls/charts/src/accumulation-chart/accumulation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,8 +1693,8 @@ export class AccumulationChart extends Component<HTMLElement> implements INotify
16931693
extend(this.changeVisibleSeries(this.visibleSeries, i), series, null, true);
16941694
seriesRefresh = true;
16951695
}
1696-
if (newProp.series[i] && newProp.series[i].explodeIndex &&
1697-
newProp.series[i].explodeIndex !== oldProp.series[i].explodeIndex) {
1696+
if (newProp.series[i] && !isNullOrUndefined(newProp.series[i].explodeIndex) && newProp.series[i].explodeIndex >= 0
1697+
&& newProp.series[i].explodeIndex !== oldProp.series[i].explodeIndex) {
16981698
this.accBaseModule.explodePoints(newProp.series[i].explodeIndex, this);
16991699
this.accBaseModule.deExplodeAll(newProp.series[i].explodeIndex, this.enableAnimation ? 300 : 0);
17001700
}

controls/charts/src/chart/series/chart-series.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,8 @@ export class SeriesBase extends ChildProperty<SeriesBase> {
12411241
seriesMinY = yValue;
12421242
}
12431243
this.yMin = isLogAxis ?
1244-
Math.min(this.yMin, (isNullOrUndefined(seriesMinY) || isNaN(seriesMinY) || (seriesMinY === 0)) ? this.yMin : seriesMinY) :
1244+
Math.min(this.yMin, (isNullOrUndefined(seriesMinY) || isNaN(seriesMinY) || (seriesMinY === 0) ||
1245+
(seriesMinY.toString() === '')) ? this.yMin : seriesMinY) :
12451246
Math.min(this.yMin, (isNullOrUndefined(seriesMinY) || isNaN(seriesMinY)) ? this.yMin : seriesMinY);
12461247
this.yMax = Math.max(this.yMax, (isNullOrUndefined(yValue) || isNaN(yValue)) ? this.yMax : yValue);
12471248
}

controls/charts/src/chart/user-interaction/zooming.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,10 @@ export class Zoom {
279279
argsData.currentZoomFactor *= (zoomRect.height / bounds.height);
280280
}
281281
}
282+
if (parseFloat(axis.zoomFactor.toFixed(3)) <= 0.001) {
283+
argsData.currentZoomFactor = argsData.previousZoomFactor;
284+
argsData.currentZoomPosition = argsData.previousZoomPosition;
285+
}
282286
if (!argsData.cancel) {
283287
axis.zoomFactor = argsData.currentZoomFactor;
284288
axis.zoomPosition = argsData.currentZoomPosition;

controls/charts/src/common/scrollbar/scrollbar.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ export class ScrollBar {
285285
public scrollMouseMove(e: PointerEvent): void {
286286
const target: Element = <Element>e.target;
287287
const elem: ScrollElements = this.scrollElements;
288+
if (!getElement(this.svgObject.id)) {
289+
return null;
290+
}
288291
this.getMouseXY(e);
289292
this.setCursor(target);
290293
this.setTheme(target);

controls/circulargauge/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## [Unreleased]
66

7-
## 19.2.57 (2021-08-24)
7+
## 19.2.59 (2021-08-31)
88

99
### CircularGauge
1010

controls/data/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.2.57 (2021-08-24)
5+
## 19.2.59 (2021-08-31)
66

77
### DataManager
88

0 commit comments

Comments
 (0)