@sapui5/sap.suite.ui.microchart 1.120.8 → 1.121.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 (111) 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 +20 -18
  4. package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +6 -5
  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 +12 -8
  9. package/src/sap/suite/ui/microchart/BulletMicroChartData.js +2 -2
  10. package/src/sap/suite/ui/microchart/BulletMicroChartRenderer.js +9 -8
  11. package/src/sap/suite/ui/microchart/ColumnMicroChart.js +11 -9
  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 +2 -2
  16. package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +2 -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 +4 -4
  21. package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +2 -2
  22. package/src/sap/suite/ui/microchart/HarveyBallMicroChartRenderer.js +1 -1
  23. package/src/sap/suite/ui/microchart/InteractiveBarChart.js +9 -7
  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 +4 -3
  28. package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +2 -2
  29. package/src/sap/suite/ui/microchart/InteractiveLineChart.js +2 -2
  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 +8 -7
  33. package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +2 -2
  34. package/src/sap/suite/ui/microchart/LineMicroChartLine.js +3 -3
  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 +4 -3
  39. package/src/sap/suite/ui/microchart/RadialMicroChart.js +11 -4
  40. package/src/sap/suite/ui/microchart/RadialMicroChartRenderer.js +7 -6
  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/messagebundle.properties +2 -0
  46. package/src/sap/suite/ui/microchart/messagebundle_ar.properties +2 -0
  47. package/src/sap/suite/ui/microchart/messagebundle_bg.properties +2 -0
  48. package/src/sap/suite/ui/microchart/messagebundle_ca.properties +2 -0
  49. package/src/sap/suite/ui/microchart/messagebundle_cnr.properties +2 -0
  50. package/src/sap/suite/ui/microchart/messagebundle_cs.properties +2 -0
  51. package/src/sap/suite/ui/microchart/messagebundle_cy.properties +2 -0
  52. package/src/sap/suite/ui/microchart/messagebundle_da.properties +2 -0
  53. package/src/sap/suite/ui/microchart/messagebundle_de.properties +2 -0
  54. package/src/sap/suite/ui/microchart/messagebundle_el.properties +2 -0
  55. package/src/sap/suite/ui/microchart/messagebundle_en.properties +2 -0
  56. package/src/sap/suite/ui/microchart/messagebundle_en_GB.properties +2 -0
  57. package/src/sap/suite/ui/microchart/messagebundle_en_US_saprigi.properties +52 -50
  58. package/src/sap/suite/ui/microchart/messagebundle_es.properties +2 -0
  59. package/src/sap/suite/ui/microchart/messagebundle_es_MX.properties +2 -0
  60. package/src/sap/suite/ui/microchart/messagebundle_et.properties +2 -0
  61. package/src/sap/suite/ui/microchart/messagebundle_fi.properties +2 -0
  62. package/src/sap/suite/ui/microchart/messagebundle_fr.properties +2 -0
  63. package/src/sap/suite/ui/microchart/messagebundle_fr_CA.properties +2 -0
  64. package/src/sap/suite/ui/microchart/messagebundle_hi.properties +2 -0
  65. package/src/sap/suite/ui/microchart/messagebundle_hr.properties +2 -0
  66. package/src/sap/suite/ui/microchart/messagebundle_hu.properties +2 -0
  67. package/src/sap/suite/ui/microchart/messagebundle_id.properties +2 -0
  68. package/src/sap/suite/ui/microchart/messagebundle_it.properties +2 -0
  69. package/src/sap/suite/ui/microchart/messagebundle_iw.properties +2 -0
  70. package/src/sap/suite/ui/microchart/messagebundle_ja.properties +2 -0
  71. package/src/sap/suite/ui/microchart/messagebundle_kk.properties +2 -0
  72. package/src/sap/suite/ui/microchart/messagebundle_ko.properties +2 -0
  73. package/src/sap/suite/ui/microchart/messagebundle_lt.properties +2 -0
  74. package/src/sap/suite/ui/microchart/messagebundle_lv.properties +2 -0
  75. package/src/sap/suite/ui/microchart/messagebundle_mk.properties +3 -1
  76. package/src/sap/suite/ui/microchart/messagebundle_ms.properties +2 -0
  77. package/src/sap/suite/ui/microchart/messagebundle_nl.properties +2 -0
  78. package/src/sap/suite/ui/microchart/messagebundle_no.properties +2 -0
  79. package/src/sap/suite/ui/microchart/messagebundle_pl.properties +2 -0
  80. package/src/sap/suite/ui/microchart/messagebundle_pt.properties +2 -0
  81. package/src/sap/suite/ui/microchart/messagebundle_pt_PT.properties +2 -0
  82. package/src/sap/suite/ui/microchart/messagebundle_ro.properties +2 -0
  83. package/src/sap/suite/ui/microchart/messagebundle_ru.properties +2 -0
  84. package/src/sap/suite/ui/microchart/messagebundle_sh.properties +2 -0
  85. package/src/sap/suite/ui/microchart/messagebundle_sk.properties +2 -0
  86. package/src/sap/suite/ui/microchart/messagebundle_sl.properties +2 -0
  87. package/src/sap/suite/ui/microchart/messagebundle_sr.properties +2 -0
  88. package/src/sap/suite/ui/microchart/messagebundle_sv.properties +2 -0
  89. package/src/sap/suite/ui/microchart/messagebundle_th.properties +2 -0
  90. package/src/sap/suite/ui/microchart/messagebundle_tr.properties +2 -0
  91. package/src/sap/suite/ui/microchart/messagebundle_uk.properties +2 -0
  92. package/src/sap/suite/ui/microchart/messagebundle_vi.properties +2 -0
  93. package/src/sap/suite/ui/microchart/messagebundle_zh_CN.properties +2 -0
  94. package/src/sap/suite/ui/microchart/messagebundle_zh_TW.properties +2 -0
  95. package/src/sap/suite/ui/microchart/themes/base/ComparisonMicroChart.less +8 -8
  96. package/src/sap/suite/ui/microchart/themes/base/InteractiveDonutChart.less +1 -1
  97. package/src/sap/suite/ui/microchart/themes/base/library.source.less +1 -1
  98. package/src/sap/suite/ui/microchart/themes/sap_belize/library.source.less +1 -1
  99. package/src/sap/suite/ui/microchart/themes/sap_belize_hcb/library.source.less +1 -1
  100. package/src/sap/suite/ui/microchart/themes/sap_belize_hcw/library.source.less +1 -1
  101. package/src/sap/suite/ui/microchart/themes/sap_belize_plus/library.source.less +1 -1
  102. package/src/sap/suite/ui/microchart/themes/sap_bluecrystal/library.source.less +1 -1
  103. package/src/sap/suite/ui/microchart/themes/sap_fiori_3/library.source.less +1 -1
  104. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_dark/library.source.less +1 -1
  105. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/library.source.less +1 -1
  106. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/library.source.less +1 -1
  107. package/src/sap/suite/ui/microchart/themes/sap_hcb/library.source.less +1 -1
  108. package/src/sap/suite/ui/microchart/themes/sap_horizon/library.source.less +1 -1
  109. package/src/sap/suite/ui/microchart/themes/sap_horizon_dark/library.source.less +1 -1
  110. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/library.source.less +1 -1
  111. 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.120.8",
3
+ "version": "1.121.0",
4
4
  "description": "SAPUI5 Library sap.suite.ui.microchart",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/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 2009-2023 SAP SE. All rights reserved.</copyright>
8
- <version>1.120.8</version>
7
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.</copyright>
8
+ <version>1.121.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 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -16,9 +16,11 @@ sap.ui.define([
16
16
  "./AreaMicroChartRenderer",
17
17
  "sap/ui/core/Core",
18
18
  "sap/ui/core/Theming",
19
- "sap/base/i18n/Localization"
19
+ "sap/base/i18n/Localization",
20
+ "./AreaMicroChartItem",
21
+ "./AreaMicroChartLabel"
20
22
  ], function(library, Control, FlexBox, MicroChartUtils, Log, KeyCodes, Parameters, MobileLibrary,
21
- ResizeHandler, AreaMicroChartRenderer, Core, Theming, Localization) {
23
+ ResizeHandler, AreaMicroChartRenderer, Core, Theming, Localization, AreaMicroChartItem, AreaMicroChartLabel) {
22
24
  "use strict";
23
25
 
24
26
  var ValueColor = MobileLibrary.ValueColor;
@@ -35,7 +37,7 @@ sap.ui.define([
35
37
  * @extends sap.ui.core.Control
36
38
  *
37
39
  * @author SAP SE
38
- * @version 1.120.8
40
+ * @version 1.121.0
39
41
  * @since 1.34
40
42
  *
41
43
  * @public
@@ -137,67 +139,67 @@ sap.ui.define([
137
139
  * The color property defines the color of the line.
138
140
  * Points are rendered in the same sequence as in this aggregation.
139
141
  */
140
- chart: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem", bindable: "bindable" },
142
+ chart: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem", defaultClass: AreaMicroChartItem, bindable: "bindable" },
141
143
 
142
144
  /**
143
145
  * The configuration of the max threshold area. The color property defines the color of the area above the max threshold line. Points are rendered in the same sequence as in this aggregation.
144
146
  */
145
- maxThreshold: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem" },
147
+ maxThreshold: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem", defaultClass: AreaMicroChartItem },
146
148
 
147
149
  /**
148
150
  * The configuration of the upper line of the inner threshold area. The color property defines the color of the area between inner thresholds. For rendering of the inner threshold area, both innerMaxThreshold and innerMinThreshold aggregations must be defined. Points are rendered in the same sequence as in this aggregation.
149
151
  */
150
- innerMaxThreshold: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem" },
152
+ innerMaxThreshold: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem", defaultClass: AreaMicroChartItem },
151
153
 
152
154
  /**
153
155
  * The configuration of the bottom line of the inner threshold area. The color property is ignored. For rendering of the inner threshold area, both innerMaxThreshold and innerMinThreshold aggregations must be defined. Points are rendered in the same sequence as in this aggregation.
154
156
  */
155
- innerMinThreshold: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem" },
157
+ innerMinThreshold: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem", defaultClass: AreaMicroChartItem },
156
158
 
157
159
  /**
158
160
  * The configuration of the min threshold area. The color property defines the color of the area below the min threshold line. Points are rendered in the same sequence as in this aggregation.
159
161
  */
160
- minThreshold: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem" },
162
+ minThreshold: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem", defaultClass: AreaMicroChartItem },
161
163
 
162
164
  /**
163
165
  * The configuration of the target values line. The color property defines the color of the line. Points are rendered in the same sequence as in this aggregation.
164
166
  */
165
- target: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem", bindable: "bindable" },
167
+ target: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartItem", defaultClass: AreaMicroChartItem, bindable: "bindable" },
166
168
 
167
169
  /**
168
170
  * The label on X axis for the first point of the chart.
169
171
  */
170
- firstXLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel" },
172
+ firstXLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel", defaultClass: AreaMicroChartLabel },
171
173
 
172
174
  /**
173
175
  * The label on Y axis for the first point of the chart.
174
176
  */
175
- firstYLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel" },
177
+ firstYLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel", defaultClass: AreaMicroChartLabel },
176
178
 
177
179
  /**
178
180
  * The label on X axis for the last point of the chart.
179
181
  */
180
- lastXLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel" },
182
+ lastXLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel", defaultClass: AreaMicroChartLabel },
181
183
 
182
184
  /**
183
185
  * The label on Y axis for the last point of the chart.
184
186
  */
185
- lastYLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel" },
187
+ lastYLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel", defaultClass: AreaMicroChartLabel },
186
188
 
187
189
  /**
188
190
  * The label for the maximum point of the chart.
189
191
  */
190
- maxLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel" },
192
+ maxLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel", defaultClass: AreaMicroChartLabel },
191
193
 
192
194
  /**
193
195
  * The label for the minimum point of the chart.
194
196
  */
195
- minLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel" },
197
+ minLabel: { multiple: false, type: "sap.suite.ui.microchart.AreaMicroChartLabel", defaultClass: AreaMicroChartLabel },
196
198
 
197
199
  /**
198
200
  * The set of lines.
199
201
  */
200
- lines: { multiple: true, type: "sap.suite.ui.microchart.AreaMicroChartItem", bindable: "bindable" }
202
+ lines: { multiple: true, type: "sap.suite.ui.microchart.AreaMicroChartItem", defaultClass: AreaMicroChartItem, bindable: "bindable" }
201
203
  }
202
204
 
203
205
  },
@@ -761,7 +763,7 @@ sap.ui.define([
761
763
  }
762
764
 
763
765
  function calculateCoordinates(line) {
764
- var bRtl = Core.getConfiguration().getRTL();
766
+ var bRtl = Localization.getRTL();
765
767
 
766
768
  var fnCalcX = function(fValue) {
767
769
  var x = kx * (fValue - fMinX);
@@ -1,12 +1,13 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
7
7
  "./library",
8
- "sap/ui/core/Element"
9
- ], function(library, Element) {
8
+ "sap/ui/core/Element",
9
+ "./AreaMicroChartPoint"
10
+ ], function(library, Element, AreaMicroChartPoint) {
10
11
  "use strict";
11
12
 
12
13
  /**
@@ -20,7 +21,7 @@ sap.ui.define([
20
21
  * @extends sap.ui.core.Element
21
22
  *
22
23
  * @author SAP SE
23
- * @version 1.120.8
24
+ * @version 1.121.0
24
25
  * @since 1.34
25
26
  *
26
27
  * @public
@@ -46,7 +47,7 @@ sap.ui.define([
46
47
  /**
47
48
  * The set of points for this graphic element.
48
49
  */
49
- "points": { multiple: true, type: "sap.suite.ui.microchart.AreaMicroChartPoint", bindable: "bindable" }
50
+ "points": { multiple: true, type: "sap.suite.ui.microchart.AreaMicroChartPoint", defaultClass: AreaMicroChartPoint, bindable: "bindable" }
50
51
  }
51
52
  }
52
53
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 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
  * 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.120.8
20
+ * @version 1.121.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 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.120.8
21
+ * @version 1.121.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -1,10 +1,11 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
7
7
  "./library",
8
+ "sap/base/i18n/Localization",
8
9
  "sap/m/library",
9
10
  "sap/ui/core/Control",
10
11
  "sap/m/FlexBox",
@@ -13,9 +14,11 @@ sap.ui.define([
13
14
  "sap/suite/ui/microchart/MicroChartUtils",
14
15
  "./BulletMicroChartRenderer",
15
16
  "sap/ui/core/Core",
16
- "sap/ui/core/Theming"
17
+ "sap/ui/core/Theming",
18
+ "./BulletMicroChartData"
17
19
  ], function(
18
20
  library,
21
+ Localization,
19
22
  MobileLibrary,
20
23
  Control,
21
24
  FlexBox,
@@ -24,7 +27,8 @@ sap.ui.define([
24
27
  MicroChartUtils,
25
28
  BulletMicroChartRenderer,
26
29
  Core,
27
- Theming
30
+ Theming,
31
+ BulletMicroChartData
28
32
  ) {
29
33
  "use strict";
30
34
 
@@ -42,7 +46,7 @@ sap.ui.define([
42
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.
43
47
  * @extends sap.ui.core.Control
44
48
  *
45
- * @version 1.120.8
49
+ * @version 1.121.0
46
50
  * @since 1.34
47
51
  *
48
52
  * @public
@@ -183,12 +187,12 @@ sap.ui.define([
183
187
  /**
184
188
  * Actual data of the BulletMicroChart.
185
189
  */
186
- actual: {type: "sap.suite.ui.microchart.BulletMicroChartData", multiple: false, bindable : "bindable"},
190
+ actual: {type: "sap.suite.ui.microchart.BulletMicroChartData", defaultClass: BulletMicroChartData, multiple: false, bindable : "bindable"},
187
191
 
188
192
  /**
189
193
  * Threshold data of the BulletMicroChart.
190
194
  */
191
- thresholds: {type: "sap.suite.ui.microchart.BulletMicroChartData", multiple: true, singularName: "threshold", bindable : "bindable"}
195
+ thresholds: {type: "sap.suite.ui.microchart.BulletMicroChartData", defaultClass: BulletMicroChartData, multiple: true, singularName: "threshold", bindable : "bindable"}
192
196
  },
193
197
  events: {
194
198
  /**
@@ -491,7 +495,7 @@ sap.ui.define([
491
495
  };
492
496
 
493
497
  BulletMicroChart.prototype._adjustLabelsPos = function() {
494
- var bRtl = Core.getConfiguration().getRTL();
498
+ var bRtl = Localization.getRTL();
495
499
  var oTBarVal = this.$("bc-target-bar-value");
496
500
  var oChartBar = this.$("chart-bar");
497
501
  var fFullWidth = oChartBar.width();
@@ -556,7 +560,7 @@ sap.ui.define([
556
560
  var fMarkerWidth = oMarker.width();
557
561
  var fMarkerLeft = oMarker.offset().left;
558
562
 
559
- if (Core.getConfiguration().getRTL()) {
563
+ if (Localization.getRTL()) {
560
564
  if (fMarkerLeft < fValueLeft) { // browser's subpixel problem fix
561
565
  oMarker.css("right", "");
562
566
  oMarker.offset({left: fValueLeft});
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 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.120.8
20
+ * @version 1.121.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @constructor
@@ -1,13 +1,14 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
7
- './library',
8
- 'sap/m/library',
9
- 'sap/suite/ui/microchart/MicroChartRenderUtils'
10
- ], function(library, MobileLibrary, MicroChartRenderUtils) {
7
+ './library',
8
+ "sap/base/i18n/Localization",
9
+ 'sap/m/library',
10
+ 'sap/suite/ui/microchart/MicroChartRenderUtils'
11
+ ], function(library, Localization, MobileLibrary, MicroChartRenderUtils) {
11
12
  "use strict";
12
13
 
13
14
  /**
@@ -40,7 +41,7 @@ sap.ui.define([
40
41
  sSize = "sapSuiteBMCSize" + oControl.getSize();
41
42
  }
42
43
  var sScale = oControl.getScale();
43
- var sDirection = sap.ui.getCore().getConfiguration().getRTL() ? "right" : "left";
44
+ var sDirection = Localization.getRTL() ? "right" : "left";
44
45
  var sMode = "sapSuiteBMCModeType" + oControl.getMode();
45
46
  var sDeltaValue = oControl.getMode() === library.BulletMicroChartModeType.Delta ? oControl._calculateDeltaValue() : 0;
46
47
  var bIsActualSet = oControl.getActual() && oControl.getActual()._isValueSet;
@@ -143,7 +144,7 @@ sap.ui.define([
143
144
  oRm.class(sSemanticColor);
144
145
  oRm.class(sSize);
145
146
 
146
- oRm.style(sDirection, parseFloat(oChartData.actualValuePct + parseFloat(1) + "%"));
147
+ oRm.style(sDirection, parseFloat(oChartData.actualValuePct) + parseFloat(1) + "%");
147
148
 
148
149
  if (oControl.getMode() === library.BulletMicroChartModeType.Delta && oChartData.actualValuePct <= oChartData.targetValuePct) {
149
150
  oRm.style("margin", "0");
@@ -255,7 +256,7 @@ sap.ui.define([
255
256
  * @param {string} sSize a string representing the size CSS class
256
257
  */
257
258
  BulletMicroChartRenderer.renderThreshold = function(oRm, oControl, oThreshold, sSize) {
258
- var sDirection = sap.ui.getCore().getConfiguration().getRTL() ? "right" : "left",
259
+ var sDirection = Localization.getRTL() ? "right" : "left",
259
260
  fValuePct = 0.98 * oThreshold.valuePct + 1,
260
261
  sColor = "sapSuiteBMCSemanticColor" + oThreshold.color;
261
262
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  // Provides control sap.suite.ui.microchart.Example.
@@ -15,8 +15,10 @@ sap.ui.define([
15
15
  "./ColumnMicroChartRenderer",
16
16
  // jQuery custom selectors ":focusable"
17
17
  "sap/ui/core/Core",
18
- "sap/ui/core/Theming"
19
- ], function(library, Control, ResizeHandler, Log, KeyCodes, MicroChartUtils, mobileLibrary, ColumnMicroChartRenderer, Core, Theming) {
18
+ "sap/ui/core/Theming",
19
+ "./ColumnMicroChartData",
20
+ "./ColumnMicroChartLabel"
21
+ ], function(library, Control, ResizeHandler, Log, KeyCodes, MicroChartUtils, mobileLibrary, ColumnMicroChartRenderer, Core, Theming, ColumnMicroChartData, ColumnMicroChartLabel) {
20
22
  "use strict";
21
23
 
22
24
  // shortcut for sap.m.Size
@@ -37,7 +39,7 @@ sap.ui.define([
37
39
  * @extends sap.ui.core.Control
38
40
  *
39
41
  * @author SAP SE
40
- * @version 1.120.8
42
+ * @version 1.121.0
41
43
  * @since 1.34
42
44
  *
43
45
  * @public
@@ -115,27 +117,27 @@ sap.ui.define([
115
117
  /**
116
118
  * The column chart data.
117
119
  */
118
- columns: { multiple: true, type: "sap.suite.ui.microchart.ColumnMicroChartData", defaultValue : null, bindable : "bindable"},
120
+ columns: { multiple: true, type: "sap.suite.ui.microchart.ColumnMicroChartData", defaultClass: ColumnMicroChartData, defaultValue : null, bindable : "bindable"},
119
121
 
120
122
  /**
121
123
  * The label on the left top corner of the chart.
122
124
  */
123
- leftTopLabel: { multiple: false, type: "sap.suite.ui.microchart.ColumnMicroChartLabel", defaultValue : null},
125
+ leftTopLabel: { multiple: false, type: "sap.suite.ui.microchart.ColumnMicroChartLabel", defaultClass: ColumnMicroChartLabel, defaultValue : null},
124
126
 
125
127
  /**
126
128
  * The label on the right top corner of the chart.
127
129
  */
128
- rightTopLabel: { multiple: false, type: "sap.suite.ui.microchart.ColumnMicroChartLabel", defaultValue : null},
130
+ rightTopLabel: { multiple: false, type: "sap.suite.ui.microchart.ColumnMicroChartLabel", defaultClass: ColumnMicroChartLabel, defaultValue : null},
129
131
 
130
132
  /**
131
133
  * The label on the left bottom corner of the chart.
132
134
  */
133
- leftBottomLabel: { multiple: false, type: "sap.suite.ui.microchart.ColumnMicroChartLabel", defaultValue: null},
135
+ leftBottomLabel: { multiple: false, type: "sap.suite.ui.microchart.ColumnMicroChartLabel", defaultClass: ColumnMicroChartLabel, defaultValue: null},
134
136
 
135
137
  /**
136
138
  * The label on the right bottom corner of the chart.
137
139
  */
138
- rightBottomLabel: { multiple: false, type: "sap.suite.ui.microchart.ColumnMicroChartLabel", defaultValue : null}
140
+ rightBottomLabel: { multiple: false, type: "sap.suite.ui.microchart.ColumnMicroChartLabel", defaultClass: ColumnMicroChartLabel, defaultValue : null}
139
141
  }
140
142
  },
141
143
  renderer: ColumnMicroChartRenderer
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 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
  * Defines the column chart data.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.120.8
20
+ * @version 1.121.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 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'],
18
18
  * Displays or hides the labels of a column micro chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.120.8
21
+ * @version 1.121.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 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 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * <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.
36
36
  * @extends sap.ui.core.Control
37
37
  *
38
- * @version 1.120.8
38
+ * @version 1.121.0
39
39
  * @since 1.34
40
40
  *
41
41
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Control'],
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Control'],
17
17
  * Contains the values of the comparison chart.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.120.8
20
+ * @version 1.121.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @constructor
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 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 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.120.8
47
+ * @version 1.121.0
48
48
  * @since 1.34
49
49
  *
50
50
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 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 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.120.8
37
+ * @version 1.121.0
38
38
  * @since 1.34
39
39
  *
40
40
  * @public
@@ -261,7 +261,7 @@ sap.ui.define([
261
261
  HarveyBallMicroChart.prototype.init = function () {
262
262
  this._oRb = Core.getLibraryResourceBundle("sap.suite.ui.microchart");
263
263
  this.setAggregation("tooltip", "((AltText))", true);
264
- Device.media.attachHandler(this.rerender, this, Device.media.RANGESETS.SAP_STANDARD);
264
+ Device.media.attachHandler(this.invalidate, this, Device.media.RANGESETS.SAP_STANDARD);
265
265
  this._sChartResizeHandlerId = null;
266
266
  this._bThemeApplied = false;
267
267
  Core.ready(this._handleCoreInitialized.bind(this));
@@ -411,7 +411,7 @@ sap.ui.define([
411
411
  };
412
412
 
413
413
  HarveyBallMicroChart.prototype.exit = function (oEvent) {
414
- Device.media.detachHandler(this.rerender, this, Device.media.RANGESETS.SAP_STANDARD);
414
+ Device.media.detachHandler(this.invalidate, this, Device.media.RANGESETS.SAP_STANDARD);
415
415
  ResizeHandler.deregister(this._sChartResizeHandlerId);
416
416
  };
417
417
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.120.8
23
+ * @version 1.121.0
24
24
  * @since 1.34
25
25
  *
26
26
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([
@@ -1,8 +1,9 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2023 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define([
6
+ "sap/base/i18n/Localization",
6
7
  "sap/ui/thirdparty/jquery",
7
8
  './library',
8
9
  'sap/m/library',
@@ -13,9 +14,10 @@ sap.ui.define([
13
14
  "sap/m/IllustratedMessage",
14
15
  "./InteractiveBarChartRenderer",
15
16
  "sap/ui/core/Core",
16
- "sap/ui/core/Theming"
17
+ "sap/ui/core/Theming",
18
+ "./InteractiveBarChartBar"
17
19
  ],
18
- function(jQuery, library, MobileLibrary, Control, FlexBox, ResizeHandler, Log, IllustratedMessage, InteractiveBarChartRenderer, Core, Theming) {
20
+ function(Localization, jQuery, library, MobileLibrary, Control, FlexBox, ResizeHandler, Log, IllustratedMessage, InteractiveBarChartRenderer, Core, Theming, InteractiveBarChartBar) {
19
21
  "use strict";
20
22
 
21
23
  /**
@@ -30,7 +32,7 @@ sap.ui.define([
30
32
  * @extends sap.ui.core.Control
31
33
  *
32
34
  * @author SAP SE
33
- * @version 1.120.8
35
+ * @version 1.121.0
34
36
  *
35
37
  * @public
36
38
  * @since 1.42.0
@@ -81,7 +83,7 @@ sap.ui.define([
81
83
  /**
82
84
  * Bars displayed on the chart.
83
85
  */
84
- bars : {type : "sap.suite.ui.microchart.InteractiveBarChartBar", multiple : true, bindable : "bindable"}
86
+ bars : {type : "sap.suite.ui.microchart.InteractiveBarChartBar", defaultClass: InteractiveBarChartBar, multiple : true, bindable : "bindable"}
85
87
  },
86
88
  events : {
87
89
  /**
@@ -519,7 +521,7 @@ sap.ui.define([
519
521
  fLabelAreaWidthFullWidth, fLabelLeftPositionFullWidth,
520
522
  fValue, fEffectiveValue,
521
523
  $BarNegative, $BarPositive,
522
- bRTL = Core.getConfiguration().getRTL();
524
+ bRTL = Localization.getRTL();
523
525
 
524
526
  if (!this._bMinMaxValid) {
525
527
  return this;
@@ -670,7 +672,7 @@ sap.ui.define([
670
672
  fBarWrapperPositiveOuterWidth, fBarWrapperNegativeOuterWidth,
671
673
  fBarWrapperPositiveWidth = this.$("bar-positive-0").parent().width(),
672
674
  fBarWrapperNegativeWidth = this.$("bar-negative-0").parent().width(),
673
- bRTL = Core.getConfiguration().getRTL();
675
+ bRTL = Localization.getRTL();
674
676
 
675
677
  $BarValues = $this.find(".sapSuiteIBCBarValue");
676
678
  if ($BarValues.length === 0) {