Skip to content

Commit 8ec0eec

Browse files
author
pipeline
committed
v31.1.23 is released
1 parent 00e22d0 commit 8ec0eec

File tree

90 files changed

+1713
-233
lines changed

Some content is hidden

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

90 files changed

+1713
-233
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.1.22 (2025-10-01)
5+
## 31.1.23 (2025-10-07)
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.1.22 (2025-10-01)
5+
## 31.1.23 (2025-10-07)
66

77
### DatePicker
88

controls/charts/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 31.1.23 (2025-10-07)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I768562` - Now, the border will not appear when chart area on pressing the ESC key.
12+
- `#I768561` - The axis label will no longer be hidden when the scrollbar is scrolled to the maximum.
13+
14+
### Bullet Chart
15+
16+
#### Bug Fixes
17+
18+
- `#I982797` - The legend shape icon in the Bullet Chart displays correctly when the target types property is set.
19+
- `#I770357` - The hovering effect now applies to the measure bar upon enabling the tooltip.
20+
21+
### 3D Chart
22+
23+
#### Bug Fixes
24+
25+
- `#I704555` - Now, hovering over a single 3D chart will no longer affect the other 3D charts.
26+
527
## 31.1.22 (2025-10-01)
628

729
### Chart

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ describe('Scrollbar Chart ', () => {
659659
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryXAxis');
660660
let thumbX : string = (parseFloat(thumbEle.getAttribute('x')).toFixed(2)).toString();
661661
let thumbWidth : string = Math.round((parseFloat(thumbEle.getAttribute('width')))).toLocaleString();
662-
expect(thumbX === '324.56' || thumbX === '209.10').toBe(true);
662+
expect(thumbX === '324.56' || thumbX === '209.10' || thumbX === '306.23').toBe(true);
663663
expect(thumbWidth === '74' || thumbWidth === '60' || thumbWidth === '49').toBe(true);
664664
done();
665665
};
@@ -686,7 +686,7 @@ describe('Scrollbar Chart ', () => {
686686
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryXAxis');
687687
let thumbX : string = (parseFloat(thumbEle.getAttribute('x')).toFixed(2)).toString();
688688
let thumbWidth : string = Math.round((parseFloat(thumbEle.getAttribute('width')))).toLocaleString();
689-
expect(thumbX === '210.95' || thumbX === '334.66').toBe(true);
689+
expect(thumbX === '210.95' || thumbX === '334.66' || thumbX === '315.77').toBe(true);
690690
expect(thumbWidth === '40').toBe(true);
691691
done();
692692
};
@@ -712,7 +712,7 @@ describe('Scrollbar Chart ', () => {
712712
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryXAxis');
713713
let thumbX : string = (parseFloat(thumbEle.getAttribute('x')).toFixed(2)).toString();
714714
let thumbWidth : string = Math.round((parseFloat(thumbEle.getAttribute('width')))).toLocaleString();
715-
expect(thumbX === '212.76' || thumbX === '217.16' || thumbX === '337.73').toBe(true);
715+
expect(thumbX === '212.76' || thumbX === '217.16' || thumbX === '337.73' || thumbX === '318.67').toBe(true);
716716
expect(thumbWidth === '40').toBe(true);
717717
done();
718718
};
@@ -1200,7 +1200,7 @@ describe('Scrollbar Chart ', () => {
12001200
};
12011201
chartObj.axisCollections[0].zoomingScrollBar.scrollMouseWheel(<WheelEvent>wheelArgs);
12021202
let thumbEle: Element = document.getElementById('container_scrollBarThumb_primaryXAxis');
1203-
expect(thumbEle.getAttribute('x') === '345.36905390315076' || thumbEle.getAttribute('x') === '345.000412371134' || thumbEle.getAttribute('x') === '17.699999999999996').toBe(true);
1203+
expect(thumbEle.getAttribute('x') === '345.36905390315076' || thumbEle.getAttribute('x') === '345.000412371134' || thumbEle.getAttribute('x') === '17.699999999999996' || thumbEle.getAttribute('x') === '16.70169204737732').toBe(true);
12041204
expect(thumbEle.getAttribute('width') === '99.89999999999999' || thumbEle.getAttribute('width') === '100.38' ).toBe(true);
12051205
done();
12061206
};
@@ -1649,3 +1649,4 @@ describe('Inversed Scrollbar ', function () {
16491649
});
16501650

16511651
});
1652+

controls/charts/src/bullet-chart/legend/legend.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class BulletChartLegend extends BaseLegend {
9999
}
100100
if (bulletChart.dataSource !== null && bulletChart.targetField !== '') {
101101
fill = (bulletChart.theme.indexOf('Dark') > -1) ? 'white' : bulletChart.targetColor ? bulletChart.targetColor : 'black';
102-
const shape: LegendShape = bulletChart.orientation === 'Vertical' ? 'ActualRect' : 'TargetRect';
102+
const shape: LegendShape = bulletChart.targetTypes[0] === 'Rect' ? bulletChart.orientation === 'Vertical' ? 'ActualRect' : 'TargetRect' : bulletChart.targetTypes[0] as LegendShape;
103103
for (let i: number = 0; i < Object.keys(bulletChart.dataSource).length; i++) {
104104
if (isNullOrUndefined(bulletChart.dataSource[i as number][bulletChart.targetField].length)
105105
|| bulletChart.dataSource[i as number][bulletChart.targetField].length === 1) {
@@ -268,3 +268,4 @@ export class BulletChartLegend extends BaseLegend {
268268
this.removeEventListener();
269269
}
270270
}
271+

controls/charts/src/bullet-chart/user-interaction/tooltip.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ export class BulletTooltip {
190190
defElement.innerHTML = shadow;
191191
tooltipdiv.style.filter = `url(#${shadowId})`;
192192
}
193-
if ((targetClass === this.control.svgObject.id + '_FeatureMeasure') ||
194-
(targetClass === this.control.svgObject.id + '_ComparativeMeasure')) {
195-
document.getElementById(targetId).setAttribute('opacity', '0.6');
196-
}
193+
}
194+
if ((targetClass === this.control.svgObject.id + '_FeatureMeasure') ||
195+
(targetClass === this.control.svgObject.id + '_ComparativeMeasure')) {
196+
document.getElementById(targetId).setAttribute('opacity', '0.6');
197197
}
198198
if ((this.control as any).isReact) { (this.control as any).renderReactTemplates(); }
199199
}

controls/charts/src/chart/chart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3852,7 +3852,7 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
38523852
public chartKeyboardNavigations(e: KeyboardEvent, targetId: string, actionKey: string): void {
38533853
this.isLegendClicked = false;
38543854
this.removeNavigationStyle();
3855-
if (actionKey !== 'Enter' && actionKey !== 'Space') {
3855+
if (actionKey.indexOf('Arrow') > -1 || actionKey === 'Tab') {
38563856
this.setNavigationStyle(targetId);
38573857
}
38583858
switch (actionKey) {

controls/charts/src/chart3d/user-interaction/tooltip.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,13 +418,13 @@ export class Tooltip3D extends BaseTooltip {
418418
const pointElements: HTMLElement[] = [];
419419
for (const series of visibleSeries) {
420420
if (series.visible && series.index !== tooltipSeries.index) {
421-
const elements: NodeListOf<HTMLElement> = document.querySelectorAll(`[id*="region-series-${series.index}"]`);
421+
const elements: NodeListOf<HTMLElement> = document.getElementById(this.element.id).querySelectorAll(`[id*="region-series-${series.index}"]`);
422422
elements.forEach((el: Element) => {
423423
pointElements.push(el as HTMLElement);
424424
});
425425
}
426426
else if (series.visible) {
427-
const tooltipElements: NodeListOf<HTMLElement> = document.querySelectorAll(`[id*="region-series-${series.index}"]`);
427+
const tooltipElements: NodeListOf<HTMLElement> = document.getElementById(this.element.id).querySelectorAll(`[id*="region-series-${series.index}"]`);
428428
for (let i: number = 0; i < tooltipElements.length; i++) {
429429
const element: HTMLElement = tooltipElements[i as number];
430430
const elementClassName: string = element.getAttribute('class') || '';

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ export class ScrollBar {
288288
}
289289
const currentScrollWidth: number = currentX + currentWidth + circleRadius + circleWidth;
290290
const currentZPWidth: number = circleRadius + (circleWidth / 2);
291-
const axisSize: number = this.isVertical ? axis.rect.height : this.width;
291+
const axisSize: number = this.isVertical ? axis.rect.height : this.width +
292+
(axis.scrollbarSettings.enableZoom ? this.svgExtraWidth : 0);
292293
this.zoomFactor = (currentWidth + (currentScrollWidth >= this.width ? circleRadius + circleWidth : 0)) / axisSize;
293294
this.zoomPosition = currentScrollWidth > axisSize ? (1 - axis.zoomFactor) : currentX < (circleRadius + circleWidth) ? 0 :
294295
(currentX - (currentX - currentZPWidth <= 0 ? currentZPWidth : 0)) / axisSize;
@@ -941,3 +942,4 @@ export class ScrollBar {
941942
}
942943

943944
}
945+

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-
## 31.1.22 (2025-10-01)
7+
## 31.1.23 (2025-10-07)
88

99
### Circular Gauge
1010

0 commit comments

Comments
 (0)