@sapui5/sap.viz 1.140.0 → 1.141.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.
@@ -15,19 +15,21 @@ sap.ui.define([
15
15
  * CSS Parameters to Properties mapping object
16
16
  */
17
17
  Util._mapping = {
18
- "sapUiChartLabelHoverColor": [
18
+ "sapUiHover": [
19
19
  "categoryAxis.hoverShadow.color",
20
20
  "categoryAxis2.hoverShadow.color",
21
21
  "rowAxis.hoverShadow.color",
22
22
  "columnAxis.hoverShadow.color",
23
- "timeAxis.hoverShadow.color"
23
+ "timeAxis.hoverShadow.color",
24
+ "plotArea.polarAxis.hoverShadow.color"
24
25
  ],
25
- "sapUiChartLabelPressedColor": [
26
+ "sapUiChartDataActiveBackground": [
26
27
  "categoryAxis.mouseDownShadow.color",
27
28
  "categoryAxis2.mouseDownShadow.color",
28
29
  "rowAxis.mouseDownShadow.color",
29
30
  "columnAxis.mouseDownShadow.color",
30
- "timeAxis.mouseDownShadow.color"
31
+ "timeAxis.mouseDownShadow.color",
32
+ "plotArea.polarAxis.mouseDownShadow.color"
31
33
  ],
32
34
  "sapUiChartCategoryAxisLabelFontColor": [
33
35
  "categoryAxis.label.style.color",
@@ -60,16 +62,7 @@ sap.ui.define([
60
62
  "valueAxis2.label.style.fontSize",
61
63
  "plotArea.valueAxis.label.style.fontSize"
62
64
  ],
63
- "sapUiChartCategoryAxisLineColor": [
64
- "categoryAxis.color",
65
- "categoryAxis2.color",
66
- "timeAxis.color"
67
- ],
68
- "sapUiChartValueAxisLineColor": [
69
- "valueAxis.color",
70
- "valueAxis2.color"
71
- ],
72
- "sapUiChartBackgroundColor": [
65
+ "sapChart_Background": [
73
66
  "general.background.color",
74
67
  "plotArea.background.color",
75
68
  "plotArea.referenceLine.defaultStyle.label.background"
@@ -140,15 +133,25 @@ sap.ui.define([
140
133
  ],
141
134
  "sapUiChartPaletteUndefinedColor": "plotArea.defaultOthersStyle.color",
142
135
  "sapUiChartPaletteSemanticBadLight1": "general.defaultTimePeriodColor",
143
- "sapUiChartGridlineColor": [
136
+ "sapUiChartGridlineColor": "plotArea.dataLabel.line.color",
137
+ "sapChart_LineColor_1": [
144
138
  "plotArea.gridline.color",
145
- "plotArea.grid.line.color",
146
- "plotArea.dataLabel.line.color"
139
+ "plotArea.grid.line.color"
147
140
  ],
148
- "sapUiChartReferenceLineColor": ["plotArea.referenceLine.defaultStyle.color",
141
+ "sapChart_LineColor_2": [
142
+ "categoryAxis.color",
143
+ "categoryAxis2.color",
144
+ "timeAxis.color",
145
+ "valueAxis.color",
146
+ "valueAxis2.color"
147
+ ],
148
+ "sapChart_LineColor_3": [
149
+ "plotArea.referenceLine.defaultStyle.color",
149
150
  "plotArea.referenceLine.defaultStyle.label.background",
150
- "plotArea.callout.line.color"
151
+ "plotArea.target.valueColor",
152
+ "plotArea.gridline.zeroLine.color"
151
153
  ],
154
+ "sapUiChartReferenceLineColor": "plotArea.callout.line.color",
152
155
  "sapUiChartReferenceLineLabelColor": "plotArea.referenceLine.defaultStyle.label.color",
153
156
  "sapUiChartDataLabelFontSize": [
154
157
  "plotArea.dataLabel.style.fontSize",
@@ -203,8 +206,8 @@ sap.ui.define([
203
206
  "timeAxis.title.style.fontSize",
204
207
  "plotArea.polarAxis.title.style.fontSize",
205
208
  "plotArea.valueAxis.title.style.fontSize"
206
- ],
207
- "sapUiChartAxisTitleFontWeight": [
209
+ ],
210
+ "sapUiChartAxisTitleFontWeight": [
208
211
  "categoryAxis.title.style.fontWeight",
209
212
  "categoryAxis2.title.style.fontWeight",
210
213
  "valueAxis.title.style.fontWeight",
@@ -214,7 +217,7 @@ sap.ui.define([
214
217
  "timeAxis.title.style.fontWeight",
215
218
  "plotArea.polarAxis.title.style.fontWeight",
216
219
  "plotArea.valueAxis.title.style.fontWeight"
217
- ],
220
+ ],
218
221
  "sapUiChartTitleFontWeight": [
219
222
  "title.style.fontWeight",
220
223
  "legend.title.style.fontWeight",
@@ -222,20 +225,18 @@ sap.ui.define([
222
225
  "categoryAxis2.label.parentStyle.fontWeight",
223
226
  "plotArea.callout.label.style.fontWeight"
224
227
  ],
225
- "sapUiChartDataPointBorderColor": [
228
+ "sapChart_ContrastLineColor": [
226
229
  "plotArea.dataPoint.stroke.color",
227
- "plotArea.area.stroke.color",
228
- "interaction.deselected.stroke.color"
230
+ "plotArea.area.stroke.color"
229
231
  ],
230
- "sapUiChartDataPointBorderHoverSelectedColor": [
232
+ "sapUiChartDataPointBorderColor": "interaction.deselected.stroke.color",
233
+ "sapUiChartDataInteractiveColor": [
231
234
  "interaction.hover.stroke.color",
232
235
  "interaction.selected.stroke.color"
233
236
  ],
234
237
  "sapUiChartDataPointNotSelectedBackgroundOpacity": "interaction.deselected.opacity",
235
- "sapUiChartTargetColor": ["plotArea.target.valueColor",
236
- "plotArea.linkline.color"],
237
- "sapUiChartTargetShadowColor": "plotArea.target.shadowColor",
238
- "sapUiChartBubbleBGOpacity": "plotArea.dataPoint.opacity",
238
+ "sapChart_ContrastShadowColor": "plotArea.target.shadowColor",
239
+ "sapUiChartTargetColor": "plotArea.linkline.color",
239
240
  "sapUiGroupContentBackground": "tooltip.background.color",
240
241
  "sapVizChartTooltipBorderStroke": [
241
242
  "tooltip.background.borderColor",
@@ -255,16 +256,16 @@ sap.ui.define([
255
256
  "sapUiChartPaletteQualitativeHue1": ["plotArea.dataPoint.color.positive"],
256
257
  "sapUiChartPaletteQualitativeHue2": ["plotArea.dataPoint.color.negative"],
257
258
  "sapUiChartLightText": ["timeAxis.label.style.parentColor"],
258
- "sapUiChartZeroAxisColor": ["plotArea.gridline.zeroLine.color"],
259
- "sapUiChartDataLabelFontColor": ["plotArea.dataLabel.style.color"],
260
- "sapUiChartFocusWidth": ["interaction.keyboard.width"],
261
- "sapUiContentFocusColor": ["interaction.keyboard.color"]
259
+ "sapUiChartDataLabelFontColor": ["plotArea.dataLabel.style.color"],
260
+ "sapUiChartFocusWidth": ["interaction.keyboard.width"],
261
+ "sapUiContentFocusColor": ["interaction.keyboard.color"],
262
+ "sapUiContentFocusStyle": ["interaction.keyboard.style"]
262
263
  };
263
264
 
264
265
  (function () {
265
266
  var isMobile = (Device.system.tablet || Device.system.phone);
266
267
  if (isMobile){
267
- Util._mapping["sapUiChartBackgroundColor"] = ["general.background.color",
268
+ Util._mapping["sapChart_Background"] = ["general.background.color",
268
269
  "plotArea.background.color",
269
270
  "plotArea.referenceLine.defaultStyle.label.background",
270
271
  "plotArea.scrollbar.track.fill",
@@ -276,7 +277,7 @@ sap.ui.define([
276
277
  "plotArea.scrollbar.thumb.fill",
277
278
  "legend.scrollbar.thumb.fill"];
278
279
  } else {
279
- Util._mapping["sapUiChartBackgroundColor"] = ["general.background.color",
280
+ Util._mapping["sapChart_Background"] = ["general.background.color",
280
281
  "plotArea.background.color",
281
282
  "plotArea.referenceLine.defaultStyle.label.background"];
282
283
  Util._mapping["sapUiChartScrollBarThumbColor"] = ["plotArea.scrollbar.thumb.fill",