@sapui5/sap.suite.ui.microchart 1.143.1 → 1.145.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/microchart/.library +2 -2
  3. package/src/sap/suite/ui/microchart/AreaMicroChart.js +2 -2
  4. package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +2 -2
  5. package/src/sap/suite/ui/microchart/AreaMicroChartLabel.js +2 -2
  6. package/src/sap/suite/ui/microchart/AreaMicroChartPoint.js +2 -2
  7. package/src/sap/suite/ui/microchart/AreaMicroChartRenderer.js +1 -1
  8. package/src/sap/suite/ui/microchart/BulletMicroChart.js +2 -2
  9. package/src/sap/suite/ui/microchart/BulletMicroChartData.js +2 -2
  10. package/src/sap/suite/ui/microchart/BulletMicroChartRenderer.js +1 -1
  11. package/src/sap/suite/ui/microchart/ColumnMicroChart.js +2 -2
  12. package/src/sap/suite/ui/microchart/ColumnMicroChartData.js +2 -2
  13. package/src/sap/suite/ui/microchart/ColumnMicroChartLabel.js +2 -2
  14. package/src/sap/suite/ui/microchart/ColumnMicroChartRenderer.js +1 -1
  15. package/src/sap/suite/ui/microchart/ComparisonMicroChart.js +56 -14
  16. package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +11 -2
  17. package/src/sap/suite/ui/microchart/ComparisonMicroChartRenderer.js +1 -1
  18. package/src/sap/suite/ui/microchart/DeltaMicroChart.js +2 -2
  19. package/src/sap/suite/ui/microchart/DeltaMicroChartRenderer.js +1 -1
  20. package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +21 -4
  21. package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +2 -2
  22. package/src/sap/suite/ui/microchart/HarveyBallMicroChartRenderer.js +5 -3
  23. package/src/sap/suite/ui/microchart/InteractiveBarChart.js +2 -2
  24. package/src/sap/suite/ui/microchart/InteractiveBarChartBar.js +2 -2
  25. package/src/sap/suite/ui/microchart/InteractiveBarChartRenderer.js +1 -1
  26. package/src/sap/suite/ui/microchart/InteractiveDonutChart.js +2 -2
  27. package/src/sap/suite/ui/microchart/InteractiveDonutChartRenderer.js +1 -1
  28. package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +2 -2
  29. package/src/sap/suite/ui/microchart/InteractiveLineChart.js +2 -3
  30. package/src/sap/suite/ui/microchart/InteractiveLineChartPoint.js +2 -2
  31. package/src/sap/suite/ui/microchart/InteractiveLineChartRenderer.js +1 -1
  32. package/src/sap/suite/ui/microchart/LineMicroChart.js +2 -2
  33. package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +2 -2
  34. package/src/sap/suite/ui/microchart/LineMicroChartLine.js +2 -2
  35. package/src/sap/suite/ui/microchart/LineMicroChartPoint.js +2 -2
  36. package/src/sap/suite/ui/microchart/LineMicroChartRenderer.js +1 -1
  37. package/src/sap/suite/ui/microchart/MicroChartRenderUtils.js +1 -1
  38. package/src/sap/suite/ui/microchart/MicroChartUtils.js +5 -3
  39. package/src/sap/suite/ui/microchart/RadialMicroChart.js +5 -6
  40. package/src/sap/suite/ui/microchart/RadialMicroChartRenderer.js +1 -1
  41. package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +2 -2
  42. package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +2 -2
  43. package/src/sap/suite/ui/microchart/StackedBarMicroChartRenderer.js +1 -1
  44. package/src/sap/suite/ui/microchart/library.js +3 -3
  45. package/src/sap/suite/ui/microchart/themes/base/AreaMicroChart.less +30 -64
  46. package/src/sap/suite/ui/microchart/themes/base/BulletMicroChart.less +41 -44
  47. package/src/sap/suite/ui/microchart/themes/base/ColumnMicroChart.less +38 -30
  48. package/src/sap/suite/ui/microchart/themes/base/ComparisonMicroChart.less +205 -195
  49. package/src/sap/suite/ui/microchart/themes/base/DeltaMicroChart.less +28 -18
  50. package/src/sap/suite/ui/microchart/themes/base/HarveyBallMicroChart.less +190 -163
  51. package/src/sap/suite/ui/microchart/themes/base/InteractiveBarChart.less +35 -33
  52. package/src/sap/suite/ui/microchart/themes/base/InteractiveDonutChart.less +67 -40
  53. package/src/sap/suite/ui/microchart/themes/base/InteractiveLineChart.less +61 -43
  54. package/src/sap/suite/ui/microchart/themes/base/LineMicroChart.less +75 -82
  55. package/src/sap/suite/ui/microchart/themes/base/RadialMicroChart.less +45 -41
  56. package/src/sap/suite/ui/microchart/themes/base/StackedBarMicroChart.less +45 -42
  57. package/src/sap/suite/ui/microchart/themes/base/library.source.less +1 -1
  58. package/src/sap/suite/ui/microchart/themes/sap_belize/library.source.less +1 -1
  59. package/src/sap/suite/ui/microchart/themes/sap_belize_base/library.source.less +1 -1
  60. package/src/sap/suite/ui/microchart/themes/sap_belize_hcb/library.source.less +1 -1
  61. package/src/sap/suite/ui/microchart/themes/sap_belize_hcw/library.source.less +1 -1
  62. package/src/sap/suite/ui/microchart/themes/sap_belize_plus/library.source.less +1 -1
  63. package/src/sap/suite/ui/microchart/themes/sap_bluecrystal/library.source.less +1 -1
  64. package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/library.source.less +1 -1
  65. package/src/sap/suite/ui/microchart/themes/sap_fiori_3/library.source.less +1 -1
  66. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_dark/library.source.less +1 -1
  67. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/AreaMicroChart.less +6 -6
  68. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/BulletMicroChart.less +6 -6
  69. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/ColumnMicroChart.less +7 -7
  70. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/ComparisonMicroChart.less +5 -5
  71. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/DeltaMicroChart.less +7 -7
  72. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/HarveyBallMicroChart.less +4 -4
  73. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveBarChart.less +24 -21
  74. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveDonutChart.less +19 -13
  75. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveLineChart.less +35 -16
  76. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/LineMicroChart.less +6 -6
  77. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/RadialMicroChart.less +6 -6
  78. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/StackedBarMicroChart.less +6 -6
  79. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/library.source.less +1 -1
  80. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/AreaMicroChart.less +6 -6
  81. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/BulletMicroChart.less +6 -6
  82. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/ColumnMicroChart.less +7 -7
  83. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/ComparisonMicroChart.less +5 -5
  84. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/DeltaMicroChart.less +7 -7
  85. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/HarveyBallMicroChart.less +4 -4
  86. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveBarChart.less +24 -21
  87. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveDonutChart.less +21 -13
  88. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveLineChart.less +31 -11
  89. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/LineMicroChart.less +6 -6
  90. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/RadialMicroChart.less +5 -5
  91. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/StackedBarMicroChart.less +6 -6
  92. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/library.source.less +1 -1
  93. package/src/sap/suite/ui/microchart/themes/sap_hcb/library.source.less +1 -1
  94. package/src/sap/suite/ui/microchart/themes/sap_horizon/library.source.less +1 -1
  95. package/src/sap/suite/ui/microchart/themes/sap_horizon_dark/library.source.less +1 -1
  96. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/AreaMicroChart.less +3 -3
  97. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/BulletMicroChart.less +3 -4
  98. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/ColumnMicroChart.less +3 -3
  99. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/ComparisonMicroChart.less +2 -2
  100. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/DeltaMicroChart.less +3 -3
  101. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/HarveyBallMicroChart.less +1 -1
  102. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveBarChart.less +20 -17
  103. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveDonutChart.less +21 -13
  104. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveLineChart.less +33 -13
  105. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/LineMicroChart.less +2 -2
  106. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/RadialMicroChart.less +5 -5
  107. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/StackedBarMicroChart.less +5 -5
  108. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/library.source.less +1 -1
  109. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/AreaMicroChart.less +3 -3
  110. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/BulletMicroChart.less +3 -3
  111. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/ColumnMicroChart.less +3 -3
  112. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/ComparisonMicroChart.less +2 -2
  113. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/DeltaMicroChart.less +3 -3
  114. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/HarveyBallMicroChart.less +1 -1
  115. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveBarChart.less +20 -17
  116. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveDonutChart.less +21 -13
  117. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveLineChart.less +33 -13
  118. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/LineMicroChart.less +2 -2
  119. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/RadialMicroChart.less +5 -5
  120. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/StackedBarMicroChart.less +5 -5
  121. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/library.source.less +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.microchart",
3
- "version": "1.143.1",
3
+ "version": "1.145.0",
4
4
  "description": "SAPUI5 Library sap.suite.ui.microchart",
5
5
  "homepage": "https://ui5.github.io/cli/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -4,8 +4,8 @@
4
4
  <name>sap.suite.ui.microchart</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
- * (c) Copyright 2025 SAP SE. All rights reserved.</copyright>
8
- <version>1.143.1</version>
7
+ * (c) Copyright 2026 SAP SE. All rights reserved.</copyright>
8
+ <version>1.145.0</version>
9
9
 
10
10
  <documentation>UI5 library: sap.suite.ui.microchart</documentation>
11
11
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.143.1
40
+ * @version 1.145.0
41
41
  * @since 1.34
42
42
  *
43
43
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.143.1
25
+ * @version 1.145.0
26
26
  * @since 1.34
27
27
  *
28
28
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/MicroChartUtils"],
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
17
17
  * Displays or hides the labels for start and end dates, start and end values, and minimum and maximum values.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.143.1
20
+ * @version 1.145.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(['./library', 'sap/ui/core/Element'],
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.143.1
21
+ * @version 1.145.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
- * @version 1.143.1
49
+ * @version 1.145.0
50
50
  * @since 1.34
51
51
  *
52
52
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(['./library', 'sap/ui/core/Element'],
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
17
17
  * Contains the thresholds data.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.143.1
20
+ * @version 1.145.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @constructor
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  // Provides control sap.suite.ui.microchart.Example.
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.143.1
41
+ * @version 1.145.0
42
42
  * @since 1.34
43
43
  *
44
44
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/MicroChartUtils"],
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
17
17
  * Defines the column chart data.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.143.1
20
+ * @version 1.145.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  // This control displays the history of values as a line mini chart or an area mini chart.
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
18
18
  * Displays or hides the labels of a column micro chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.143.1
21
+ * @version 1.145.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
- * @version 1.143.1
43
+ * @version 1.145.0
44
44
  * @since 1.34
45
45
  *
46
46
  * @public
@@ -144,6 +144,10 @@ sap.ui.define([
144
144
  ComparisonMicroChart.THRESHOLD_LOOK_M = 10.5;
145
145
  ComparisonMicroChart.THRESHOLD_LOOK_L = 12;
146
146
 
147
+ this._sVisibleTooltip = null;
148
+ this._sVisibleAriaText = null;
149
+
150
+
147
151
  /* =========================================================== */
148
152
  /* API events */
149
153
  /* =========================================================== */
@@ -165,6 +169,36 @@ sap.ui.define([
165
169
  return this;
166
170
  };
167
171
 
172
+ ComparisonMicroChart.prototype._updateVisibleTooltipText = function () {
173
+ if (!this._hasData()) {
174
+ this._sVisibleTooltip = null;
175
+ this._sVisibleAriaText = null;
176
+ return;
177
+ }
178
+
179
+ var bIsActive = this.hasListeners("press"),
180
+ sTooltipHeader = this._getAltHeaderText(false),
181
+ sAriaHeader = this._getAltHeaderText(bIsActive),
182
+ sSubText = "",
183
+ bFirst = true;
184
+
185
+ this.getData().forEach(function (oBar, iIndex) {
186
+ if (oBar.$().is(":visible")) {
187
+ var sBarAlt = this._getBarAltText(iIndex);
188
+ if (sBarAlt) {
189
+ sSubText += (bFirst ? "" : "\n") + sBarAlt;
190
+ bFirst = false;
191
+ }
192
+ }
193
+ }.bind(this));
194
+
195
+ this._sVisibleTooltip =
196
+ sTooltipHeader + (sSubText ? "\n" + sSubText : "");
197
+
198
+ this._sVisibleAriaText =
199
+ sAriaHeader + (sSubText ? "\n" + sSubText : "");
200
+ };
201
+
168
202
  ComparisonMicroChart.prototype.onclick = function(oEvent) {
169
203
  if (!this.fireBarPress(oEvent)) {
170
204
  setTimeout(() => {
@@ -410,17 +444,17 @@ sap.ui.define([
410
444
  sBarTooltip = oBar.getTooltip_AsString(),
411
445
  sAltBarText = "";
412
446
 
413
- if (!sBarTooltip) {
447
+ if (!sBarTooltip || !sBarTooltip.trim()) {
414
448
  continue;
415
- }
449
+ }
416
450
 
417
451
  sAltBarText = sBarTooltip.split("((AltText))").join(sBarText);
418
452
 
419
- if (sAltBarText) {
453
+ if (sAltBarText && sAltBarText.trim()) {
420
454
  sAltText += (bIsFirst ? "" : "\n") + sAltBarText;
421
455
  bIsFirst = false;
456
+ }
422
457
  }
423
- }
424
458
 
425
459
  return sAltText;
426
460
  };
@@ -607,6 +641,14 @@ sap.ui.define([
607
641
  }
608
642
  }
609
643
  }
644
+ this._updateVisibleTooltipText();
645
+
646
+ if (this._sVisibleAriaText) {
647
+ if (!this.getAriaLabelledBy().length) {
648
+ this.$().attr("aria-label", this._sVisibleAriaText);
649
+ }
650
+ this.$(this.getId() + "-info").text(this._sVisibleAriaText);
651
+ }
610
652
  };
611
653
 
612
654
  /**
@@ -755,15 +797,15 @@ sap.ui.define([
755
797
  * @private
756
798
  */
757
799
  ComparisonMicroChart.prototype._addTitleAttribute = function() {
758
- var sTooltip = this.getTooltip_AsString();
759
- if (!library._isTooltipSuppressed(sTooltip) && this._hasData()) {
760
- if (this._isResponsive()){
761
- this.$().find(".sapSuiteCpMCVerticalAlignmentContainer").attr("title", sTooltip);
762
- } else {
763
- this.$().attr("title", sTooltip);
764
- }
800
+ var sTooltip = this.getTooltip_AsString(false);
801
+ if (!library._isTooltipSuppressed(sTooltip) && this._hasData()) {
802
+ if (this._isResponsive()){
803
+ this.$().find(".sapSuiteCpMCVerticalAlignmentContainer").attr("title", sTooltip);
804
+ } else {
805
+ this.$().attr("title", sTooltip);
765
806
  }
766
- };
807
+ }
808
+ };
767
809
 
768
810
  /**
769
811
  * Removes the title attribute to hide the tooltip when the mouse leaves the chart.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Control','sap/m/library', "sap/suite/ui/microchart/MicroChartUtils"],
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Control','sap/m/
18
18
  * Contains the values of the comparison chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.143.1
21
+ * @version 1.145.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @constructor
@@ -101,6 +101,15 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Control','sap/m/
101
101
 
102
102
  ComparisonMicroChartData.prototype.onsapspace = ComparisonMicroChartData.prototype.onsapenter;
103
103
 
104
+ ComparisonMicroChartData.prototype.setTooltip = function (...args) {
105
+ Element.prototype.setTooltip.apply(this, args);
106
+
107
+ var oParent = this.getParent();
108
+ if (oParent && oParent._sVisibleTooltip) {
109
+ oParent._sVisibleTooltip = null;
110
+ }
111
+ return this;
112
+ };
104
113
 
105
114
  ComparisonMicroChartData.prototype.onclick = function(oEvent) {
106
115
  var sChartSize = this.getParent()?._getSize();
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.143.1
43
+ * @version 1.145.0
44
44
  * @since 1.34
45
45
  *
46
46
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -13,8 +13,9 @@ sap.ui.define([
13
13
  "./HarveyBallMicroChartRenderer",
14
14
  "sap/ui/core/Core",
15
15
  "sap/ui/core/Theming",
16
- "./HarveyBallMicroChartItem"
17
- ], function (library, Control, Device, KeyCodes, MicroChartUtils, ResizeHandler, HarveyBallMicroChartRenderer, Core, Theming, HarveyBallMicroChartItem) {
16
+ "./HarveyBallMicroChartItem",
17
+ "sap/base/i18n/Localization"
18
+ ], function (library, Control, Device, KeyCodes, MicroChartUtils, ResizeHandler, HarveyBallMicroChartRenderer, Core, Theming, HarveyBallMicroChartItem, Localization) {
18
19
  "use strict";
19
20
 
20
21
  const MicroChartColorType = library.MicroChartColorType;
@@ -30,10 +31,11 @@ sap.ui.define([
30
31
  * <br>Unlike a pie chart, which shows multiple values or sectors, a Harvey Ball microchart shows only one value from a total.
31
32
  * <br>The sector that represents a value being compared to a total is defined by {@link sap.suite.ui.microchart.HarveyBallMicroChartItem}.
32
33
  * <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
34
+ * <br>Note: The default value of truncation is 5 digit and varies between languages.
33
35
  * @extends sap.ui.core.Control
34
36
  *
35
37
  * @author SAP SE
36
- * @version 1.143.1
38
+ * @version 1.145.0
37
39
  * @since 1.34
38
40
  *
39
41
  * @public
@@ -154,6 +156,21 @@ sap.ui.define([
154
156
 
155
157
  HarveyBallMicroChart.VALUE_TRUNCATION_DIGITS = 5;
156
158
 
159
+ HarveyBallMicroChart.prototype._getValueTruncationDigits = function () {
160
+ var sLang = Localization.getLanguage().toLowerCase();
161
+
162
+ /* Map of truncation digits per language */
163
+ var LANG_TRUNCATION_MAP = {
164
+ "de": 8,
165
+ "de-de": 8,
166
+ "de_at": 8,
167
+ "de_ch": 8
168
+ };
169
+
170
+ // fallback to default
171
+ return LANG_TRUNCATION_MAP[sLang] || HarveyBallMicroChart.VALUE_TRUNCATION_DIGITS;
172
+ };
173
+
157
174
  // numbers are in rem units
158
175
  HarveyBallMicroChart.THRESHOLD_LOOK_XS = 1.125;
159
176
  HarveyBallMicroChart.THRESHOLD_LOOK_S = 3.5;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.143.1
24
+ * @version 1.145.0
25
25
  * @since 1.34
26
26
  *
27
27
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -105,11 +105,13 @@ sap.ui.define([
105
105
  sTotalLabel = oFormattedTotal.value;
106
106
  }
107
107
 
108
+ /* language based truncation digit */
109
+ var iTruncDigits = oControl._getValueTruncationDigits();
108
110
  if (sValueLabel) {
109
- sValueLabel = HarveyBallMicroChart._truncateValue(sValueLabel, HarveyBallMicroChart.VALUE_TRUNCATION_DIGITS);
111
+ sValueLabel = HarveyBallMicroChart._truncateValue(sValueLabel, iTruncDigits);
110
112
  }
111
113
  if (sTotalLabel) {
112
- sTotalLabel = HarveyBallMicroChart._truncateValue(sTotalLabel, HarveyBallMicroChart.VALUE_TRUNCATION_DIGITS);
114
+ sTotalLabel = HarveyBallMicroChart._truncateValue(sTotalLabel, iTruncDigits);
113
115
  }
114
116
 
115
117
  oRm.openStart("div", oControl);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define([
6
6
  "sap/base/i18n/Localization",
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.143.1
35
+ * @version 1.145.0
36
36
  *
37
37
  * @public
38
38
  * @since 1.42.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Lib'],
6
6
  function(library, Element, CoreLib) {
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Lib'],
16
16
  * @extends sap.ui.core.Element
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.143.1
19
+ * @version 1.145.0
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([ "sap/m/library" ],
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define([
6
6
  "sap/ui/thirdparty/jquery",
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.143.1
36
+ * @version 1.145.0
37
37
  *
38
38
  * @public
39
39
  * @since 1.42.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define([
6
6
  "sap/ui/core/Theming",
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(["./library", "sap/ui/core/Element", "sap/ui/core/Lib"], function(library, Element, CoreLib) {
6
6
  "use strict";
@@ -15,7 +15,7 @@ sap.ui.define(["./library", "sap/ui/core/Element", "sap/ui/core/Lib"], function(
15
15
  * @extends sap.ui.core.Element
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.143.1
18
+ * @version 1.145.0
19
19
  *
20
20
  * @public
21
21
  * @since 1.42.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define([
6
6
  "sap/ui/thirdparty/jquery",
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * The InteractiveLineChart control belongs to a chart control group in the MicroChart library having a number of interactive features.
43
43
  * @extends sap.ui.core.Control
44
44
  * @author SAP SE
45
- * @version 1.143.1
45
+ * @version 1.145.0
46
46
  *
47
47
  * @public
48
48
  * @since 1.42.0
@@ -473,7 +473,6 @@ sap.ui.define([
473
473
  this._bCompact = this._isCompact();
474
474
  // removed invalidate after testing by switching into various themes, no observed changes/issues, also
475
475
  // no visible hardcoded css in the renderer file
476
- this.invalidate();
477
476
  Theming.detachApplied(this._handleThemeApplied.bind(this));
478
477
  };
479
478
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Lib'],
6
6
  function(library, Element, CoreLib) {
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Lib'],
16
16
  * @extends sap.ui.core.Element
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.143.1
19
+ * @version 1.145.0
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string.
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
- * @version 1.143.1
34
+ * @version 1.145.0
35
35
  * @since 1.48.0
36
36
  *
37
37
  * @public