@sapui5/sap.viz 1.112.2 → 1.114.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.
package/package.json
CHANGED
package/src/sap/viz/.library
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>SAPUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE. All rights reserved.</copyright>
|
|
8
|
-
<version>1.
|
|
8
|
+
<version>1.114.0</version>
|
|
9
9
|
|
|
10
10
|
<documentation>Chart controls based on the SAP BI CVOM charting library</documentation>
|
|
11
11
|
|
package/src/sap/viz/library.js
CHANGED
|
@@ -64,6 +64,8 @@ sap.ui.define([
|
|
|
64
64
|
*
|
|
65
65
|
* @class
|
|
66
66
|
* VizFrame is a viz control that manages a visualization’s initialization, layout, feeding, customization and interactions.
|
|
67
|
+
*
|
|
68
|
+
* At the moment, the time series chart in VizFrame only accepts time inputs in UTC and system time, and does not have the capability to switch timezones dynamically. Additionally, the week representation in VizFrame adheres to the ISO week standard, and does not support other variations of week definitions.
|
|
67
69
|
* @extends sap.viz.ui5.controls.common.BaseControl
|
|
68
70
|
*
|
|
69
71
|
* @constructor
|
|
@@ -13,7 +13,7 @@ sap.ui.define(['sap/ui/core/format/NumberFormat',
|
|
|
13
13
|
var semicolon = ":";
|
|
14
14
|
var formatFunctionsWithUTC = ["MediumYear", "MediumMonth", "MediumDay", "MediumHour",
|
|
15
15
|
"MediumMinute", "MediumSecond", "YearMonthDay", "Quarter", "Week", "hh:mm", "hh:mm:ss",
|
|
16
|
-
"MMM d", "YearQuarter", "YearMonth"];
|
|
16
|
+
"MMM d", "d", "YearQuarter", "YearMonth"];
|
|
17
17
|
/**
|
|
18
18
|
* @class Provides methods set chart formatter for VizFrame.
|
|
19
19
|
*
|
|
@@ -422,8 +422,8 @@ sap.ui.define(['sap/ui/core/format/NumberFormat',
|
|
|
422
422
|
return dateFormatter.format.bind(dateFormatter);
|
|
423
423
|
};
|
|
424
424
|
|
|
425
|
-
ChartFormatter.prototype._getCVOMHourZeroFormatter = function (value) {
|
|
426
|
-
return this.formatFunctions["MediumHour"](value) + semicolon + "00";
|
|
425
|
+
ChartFormatter.prototype._getCVOMHourZeroFormatter = function (value, bUTC) {
|
|
426
|
+
return this.formatFunctions["MediumHour"](value, bUTC) + semicolon + "00";
|
|
427
427
|
};
|
|
428
428
|
|
|
429
429
|
ChartFormatter.prototype._getHourMinuteSecondFormatter = function () {
|
|
@@ -441,16 +441,16 @@ sap.ui.define(['sap/ui/core/format/NumberFormat',
|
|
|
441
441
|
return dateFormatter.format.bind(dateFormatter);
|
|
442
442
|
};
|
|
443
443
|
|
|
444
|
-
ChartFormatter.prototype._getCVOMSecondFormatter = function (value) {
|
|
445
|
-
return this.formatFunctions["MediumSecond"](value) + "''";
|
|
444
|
+
ChartFormatter.prototype._getCVOMSecondFormatter = function (value, bUTC) {
|
|
445
|
+
return this.formatFunctions["MediumSecond"](value, bUTC) + "''";
|
|
446
446
|
};
|
|
447
447
|
|
|
448
|
-
ChartFormatter.prototype._getCVOMMonthFormatter = function (value) {
|
|
449
|
-
return this.formatFunctions["MediumMonth"](value);
|
|
448
|
+
ChartFormatter.prototype._getCVOMMonthFormatter = function (value, bUTC) {
|
|
449
|
+
return this.formatFunctions["MediumMonth"](value, bUTC);
|
|
450
450
|
};
|
|
451
451
|
|
|
452
|
-
ChartFormatter.prototype._getCVOMDayFormater = function (value) {
|
|
453
|
-
return this.formatFunctions["MediumDay"](value);
|
|
452
|
+
ChartFormatter.prototype._getCVOMDayFormater = function (value, bUTC) {
|
|
453
|
+
return this.formatFunctions["MediumDay"](value, bUTC);
|
|
454
454
|
};
|
|
455
455
|
|
|
456
456
|
ChartFormatter.prototype._getMonthDayFormatter = function () {
|