Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ec9d091

Browse files
author
pipeline
committed
v28.2.4 is released
1 parent d08063b commit ec9d091

File tree

143 files changed

+2772
-382
lines changed

Some content is hidden

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

143 files changed

+2772
-382
lines changed

‎controls/barcodegenerator/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-
## 28.2.3 (2025-01-29)
5+
## 28.2.4 (2025-02-04)
66

77
### Barcode
88

‎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-
## 28.2.3 (2025-01-29)
5+
## 28.2.4 (2025-02-04)
66

77
### Switch
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-
## 28.2.3 (2025-01-29)
5+
## 28.2.4 (2025-02-04)
66

77
### DatePicker
88

‎controls/charts/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 28.2.4 (2025年02月04日)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I681285` - Chart performance has been optimized when using the data label template.
12+
513
## 28.2.3 (2025年01月29日)
614

715
### Chart

‎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": "28.1.41",
3+
"version": "28.2.3",
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/series/bar-series.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ describe('Chart Control', () => {
759759
let element: HTMLElement = document.getElementById('container_Series_0_DataLabel_5');
760760
expect(element.children[0].innerHTML).toBe('6000 : -40');
761761
expect(element.style.backgroundColor).toBe('red');
762-
expect(element.style.color).toBe('white');
762+
expect(element.style.color).toBe('');
763763
done();
764764
};
765765
chartObj.series[0].marker.dataLabel.template = '<div>${point.x} : ${point.y}</div>';
@@ -771,7 +771,7 @@ describe('Chart Control', () => {
771771
let element: HTMLElement = document.getElementById('container_Series_0_DataLabel_5');
772772
expect(element.children[0].innerHTML).toBe('80');
773773
expect(element.style.backgroundColor).toBe('red');
774-
expect(element.style.color).toBe('white');
774+
expect(element.style.color).toBe('');
775775
done();
776776
};
777777
chartObj.series[0].marker.dataLabel.template = '#template';

‎controls/charts/spec/chart/series/range-column-series.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ describe('Chart', () => {
703703
let element: HTMLElement = document.getElementById('container_Series_0_DataLabel_5');
704704
expect(element.children[0].innerHTML).toBe('34 : -22');
705705
expect(element.style.backgroundColor).toBe('transparent');
706-
expect(element.style.color).toBe('black');
706+
expect(element.style.color).toBe('');
707707
done();
708708
};
709709
chartObj.series[0].marker.dataLabel.template = '<div>${point.high} : ${point.low}</div>';
@@ -715,7 +715,7 @@ describe('Chart', () => {
715715
let element: HTMLElement = document.getElementById('container_Series_0_DataLabel_5');
716716
expect(element.children[0].innerHTML).toBe('80');
717717
expect(element.style.backgroundColor).toBe('transparent');
718-
expect(element.style.color).toBe('black');
718+
expect(element.style.color).toBe('');
719719
done();
720720
};
721721
chartObj.series[0].marker.dataLabel.template = '#template';

‎controls/charts/src/chart/series/data-label.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,8 @@ export class DataLabel {
380380
}
381381
childElement.style.left = ((this.chart.chartAreaType === 'PolarRadar' ? 0 : series.clipRect.x) + rect.x - clipWidth) + 'px';
382382
childElement.style.top = ((this.chart.chartAreaType === 'PolarRadar' ? 0 : series.clipRect.y) + rect.y + clipHeight) + 'px';
383-
const backgroundColor: string = this.fontBackground === 'transparent' ? (this.chart.theme.indexOf('Dark') > -1 ? 'black' : 'white') : this.fontBackground;
384-
const rgbValue: ColorValue = convertHexToColor(colorNameToHex(backgroundColor));
385383
const vAxis: Axis = series.chart.requireInvertedAxis ? series.xAxis : series.yAxis;
386384
const hAxis: Axis = series.chart.requireInvertedAxis ? series.yAxis : series.xAxis;
387-
childElement.style.color = dataLabel.font.color || (this.chart.theme === 'Bootstrap5' ? '#212529' : this.chart.theme === 'Bootstrap5Dark' ? '#DEE2E6' :
388-
((Math.round((rgbValue.r * 299 + rgbValue.g * 587 + rgbValue.b * 114) / 1000)) >= 128 ? 'black' : 'white'));
389385
if (childElement.childElementCount && !isOverlap && (!isCollide(rect, this.chart.dataLabelCollections, clip) ||
390386
dataLabel.labelIntersectAction === 'None') && (series.seriesType !== 'XY' || point.yValue === undefined ||
391387
withIn(point.yValue, series.yAxis.visibleRange) || (series.type.indexOf('Stacking') > -1) ||

‎controls/charts/src/common/utils/export.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,9 @@ export class ExportUtils {
331331
document.pageSettings.orientation = orientation;
332332
const exactWidth: number = (pdfDefaultWidth < width[i as number]) ? (width[i as number] + margin.left + margin.right) :
333333
pdfDefaultWidth;
334-
const exactHeight: number = orientation === 0 ? (width[i as number] + margin.left + margin.right) :
335-
(pdfDefaultHeight < height[i as number]) ? (height[i as number] + margin.top + margin.bottom) : pdfDefaultHeight;
334+
const exactHeight: number = (orientation === 0 && pdfDefaultHeight > height[i as number]) ?
335+
(width[i as number] + margin.left + margin.right) : (pdfDefaultHeight < height[i as number]) ?
336+
(height[i as number] + margin.top + margin.bottom) : pdfDefaultHeight;
336337
if (header !== undefined) {
337338
const font: PdfStandardFont = new PdfStandardFont(1, header.fontSize || 15);
338339
const pdfHeader: PdfPageTemplateElement = new PdfPageTemplateElement(exactWidth, 30);

‎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-
## 28.2.3 (2025-01-29)
5+
## 28.2.4 (2025-02-04)
66

77
### DataManager
88

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /