Skip to content

Commit c8b7b47

Browse files
author
pipeline
committed
v31.2.10 is released
1 parent 6bc72a4 commit c8b7b47

File tree

216 files changed

+4189
-541
lines changed

Some content is hidden

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

216 files changed

+4189
-541
lines changed

controls/base/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-
## 31.2.5 (2025-11-04)
5+
## 31.2.10 (2025-11-13)
66

77
### Common
88

controls/calendars/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-
## 31.2.5 (2025-11-04)
5+
## 31.2.10 (2025-11-13)
66

77
### DatePicker
88

controls/charts/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,30 @@
22

33
## [Unreleased]
44

5+
## 31.2.10 (2025-11-13)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I771969` - Now, the multi level label renders properly for different width.
12+
513
## 31.2.5 (2025-11-04)
614

715
### Chart
816

917
#### Bug Fixes
1018

19+
- `#I777320` - The scrollbar will now update properly when it is dragged.
20+
- `#I767509` - The range column chart now renders correctly using a datetime Y-axis.
21+
- `#I779972` - Chart data is now properly updated for duplicate X values when exporting to Excel.
22+
23+
## 31.2.4 (2025-10-28)
24+
25+
### Chart
26+
27+
#### Bug Fixes
28+
1129
- `#I757693` - Extra space will no longer be added to the axis label during dynamic updates.
1230
- `#I777050` - Grid lines are now rendered for empty charts.
1331

controls/charts/ReadMe.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,15 @@ Chart control is also offered in following list of frameworks.
206206
* Expense Tracker - [Source](https://github.com/syncfusion/ej2-sample-ts-expensetracker), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/expensetracker/?utm_source=npm&utm_campaign=chart#/dashboard)
207207
* Loan Calculator - [Source](https://github.com/syncfusion/ej2-sample-ts-loancalculator), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/loancalculator/?utm_source=npm&utm_campaign=chart)
208208

209+
## Resources
210+
211+
* [Documentation](https://ej2.syncfusion.com/documentation/chart/getting-started)
212+
* [Theme Studio](https://ej2.syncfusion.com/themestudio/)
213+
* [Custom Resource Generator](https://crg.syncfusion.com/)
214+
* [What's New](https://www.syncfusion.com/products/whatsnew/essential-js2?utm_medium=listing&utm_source=github)
215+
* [Road Map](https://www.syncfusion.com/products/roadmap/essential-js2?utm_medium=listing&utm_source=github)
216+
* [E-Books](https://www.syncfusion.com/ebooks?tag=javascript&utm_medium=listing&utm_source=github)
217+
209218
## Support
210219

211220
Product support is available through following mediums.
@@ -222,10 +231,10 @@ Check the changelog [here](https://github.com/syncfusion/ej2-charts/blob/master/
222231

223232
## License and copyright
224233

225-
> This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [JavaScript UI controls](https://www.syncfusion.com/javascript-ui-controls), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
234+
> This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 140+ [JavaScript UI controls](https://www.syncfusion.com/javascript-ui-controls), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
226235
227236
> A [free community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
228237
229238
See [LICENSE FILE](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_campaign=chart) for more info.
230239

231-
&copy; Copyright 2022 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
240+
&copy; Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,8 @@ describe('Scrollbar Chart ', () => {
773773
chartObj.axisCollections[0].zoomingScrollBar.animateDuration = 0;
774774
chartObj.axisCollections[0].zoomingScrollBar.scrollMouseDown(<PointerEvent>(trigger.onTouchStart(currentTarget, 0, 0, 0, 0, 890, 390)));
775775
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryXAxis');
776-
expect(thumbEle.getAttribute('x') === '92.5' || thumbEle.getAttribute('x') === '121.5').toBe(true);
777-
expect(thumbEle.getAttribute('width') === '715').toBe(true);
776+
expect(thumbEle.getAttribute('x') === '92.5' || thumbEle.getAttribute('x') === '113.5').toBe(true);
777+
expect(thumbEle.getAttribute('width') === '740').toBe(true);
778778
done();
779779
}
780780
chartObj.primaryXAxis.zoomFactor = 1;
@@ -788,7 +788,7 @@ describe('Scrollbar Chart ', () => {
788788
trigger.draganddropEvent(ele, 150, 150, 8000, 400);
789789
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryXAxis');
790790
expect(thumbEle.getAttribute('x') === '84.5' || thumbEle.getAttribute('x') === '113.5').toBe(true);
791-
expect(thumbEle.getAttribute('width') === '715').toBe(true);
791+
expect(thumbEle.getAttribute('width') === '740').toBe(true);
792792
done();
793793
}
794794
chartObj.primaryXAxis.zoomFactor = 1;
@@ -828,7 +828,7 @@ describe('Scrollbar Chart ', () => {
828828
chartObj.axisCollections[0].zoomingScrollBar.scrollMouseWheel(<WheelEvent>wheelArgs);
829829
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryXAxis');
830830
expect(thumbEle.getAttribute('x') === '84.5' || thumbEle.getAttribute('x') === '113.5').toBe(true);
831-
expect(thumbEle.getAttribute('width') === '715').toBe(true);
831+
expect(thumbEle.getAttribute('width') === '740').toBe(true);
832832
done();
833833
}
834834
chartObj.primaryXAxis.zoomFactor = 1;

controls/charts/src/chart/axis/axis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ export class Axis extends ChildProperty<Axis> {
11451145
else {
11461146
return this.isAxisOpposedPosition ? titleSize + innerPadding + titlePadding + this.labelPadding +
11471147
((this.orientation === 'Vertical') ? this.maxLabelSize.width : this.maxLabelSize.height) +
1148-
this.multiLevelLabelHeight : titleSize + titlePadding;
1148+
this.multiLevelLabelHeight : titleSize + innerPadding + titlePadding;
11491149
}
11501150
}
11511151
return labelSize;

controls/charts/src/chart/axis/multi-level-labels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class MultiLevelLabel {
7878
multiLevel.categories.map((categoryLabel: MultiLevelCategories, i: number) => {
7979
if (categoryLabel.text !== '' && categoryLabel.start !== null && categoryLabel.end !== null) {
8080
labelSize = measureText(categoryLabel.text, multiLevel.textStyle, this.chart.themeStyle.axisLabelFont);
81-
height = isVertical ? (categoryLabel.maximumTextWidth !== null && labelSize.width > categoryLabel.maximumTextWidth ?
81+
height = isVertical ? (categoryLabel.maximumTextWidth !== null ?
8282
categoryLabel.maximumTextWidth : labelSize.width) : labelSize.height;
8383
height += 2 * multiLevel.border.width +
8484
(multiLevel.border.type === 'CurlyBrace' ? padding : 0);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3120,6 +3120,7 @@ export class Series extends SeriesBase {
31203120
if (!data) {
31213121
return null;
31223122
}
3123+
this.currentViewData = null;
31233124
const updatedData: Array<number | string> = [];
31243125
if ((this.dataSource as Object[]).length === data.length) {
31253126
for (let i: number = 0; i < data.length; i++) {

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,12 +814,14 @@ export class ScrollBar {
814814
this.height = this.axis.scrollbarSettings.height;
815815
const currentX: number = this.zoomPosition * (this.isVertical ? axis.rect.height : this.width);
816816
const minThumbX: number = (this.width - minThumbWidth - circleRadius);
817-
this.scrollElements.thumbRectX = currentX > minThumbX ? minThumbX : currentX < circleRadius ?
817+
this.scrollElements.thumbRectX = currentX > minThumbX ? (!this.isVertical && this.axis.scrollbarSettings.enableZoom ?
818+
minThumbX + this.svgExtraWidth / 2 : minThumbX) : currentX < circleRadius ?
818819
(!this.isVertical && this.axis.scrollbarSettings.enableZoom ? circleRadius + this.svgExtraWidth / 2 : circleRadius)
819820
: (!this.isVertical && this.axis.scrollbarSettings.enableZoom ? (currentX + this.svgExtraWidth / 2) : currentX);
820821
this.scrollElements.thumbRectWidth = this.isThumbDrag ? this.scrollElements.thumbRectWidth :
821822
((currentWidth + this.scrollElements.thumbRectX) < this.width - (circleRadius * 2))
822-
? currentWidth : this.width - this.scrollElements.thumbRectX - circleRadius;
823+
? currentWidth : ((!this.isVertical && this.axis.scrollbarSettings.enableZoom ?
824+
this.width + this.svgExtraWidth / 2 : this.width) - this.scrollElements.thumbRectX - circleRadius);
823825
}
824826

825827
/**

controls/compression/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-compression",
3-
"version": "0.17.0",
3+
"version": "31.2.2",
44
"description": "Essential JS 2 Compression library",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)