@sapui5/sap.chart 1.103.1 → 1.106.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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ![SAPUI5](https://ui5.sap.com/resources/sap/ui/documentation/sdk/images/Logo_B_SAPUI5_H.png)
2
2
 
3
3
  # @sapui5/sap.chart
4
- Runtime resources of the [SAPUI5](https://sapui5.hana.ondemand.com) Library **sap.chart**.
4
+ Runtime resources of the [SAPUI5](https://ui5.sap.com) Library **sap.chart**.
5
5
 
6
6
  ## Usage
7
7
  Refrain from installing this package using npm, Yarn or similar package managers.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.chart",
3
- "version": "1.103.1",
3
+ "version": "1.106.0",
4
4
  "description": "SAPUI5 Library sap.chart",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2009-2022 SAP SE. All rights reserved.</copyright>
8
- <version>1.103.1</version>
8
+ <version>1.106.0</version>
9
9
 
10
10
  <documentation>Smart viz control based on Vizframe</documentation>
11
11
 
@@ -141,7 +141,7 @@ sap.ui.define([
141
141
  */
142
142
  visibleMeasures : {type: "string[]", defaultValue: []},
143
143
  /** Chart properties, refer to chart property <a href="docs/vizdocs/index.html" target="_blank">documentation</a> for more details. */
144
- vizProperties : {type: "object", group: "Misc"},/**
144
+ vizProperties : {type: "object", group: "Misc"},
145
145
  /** Chart scales, refer to chart property <a href="docs/vizdocs/index.html" target="_blank">documentation</a> for more details. */
146
146
  vizScales : {type : "object[]", group : "Misc"},
147
147
  /** Whether or not an aggregated entity set is bound to the chart. */
@@ -63,6 +63,12 @@ sap.ui.define([
63
63
  TimeDimension.prototype.setTimeUnit = ChartUtils.makeNotifyParentProperty("timeUnit");
64
64
  TimeDimension.prototype.setFiscalYearPeriodCount = ChartUtils.makeNotifyParentProperty("fiscalYearPeriodCount");
65
65
  TimeDimension.prototype.setProjectedValueStartTime = ChartUtils.makeNotifyParentProperty("projectedValueStartTime");
66
+ TimeDimension.prototype._setIsUTC = function(bUTC) {
67
+ this._bUTC = bUTC;
68
+ };
69
+ TimeDimension.prototype._getIsUTC = function() {
70
+ return this._bUTC;
71
+ };
66
72
 
67
73
  return TimeDimension;
68
74
  });
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  "sap.chart.data.Measure"
62
62
  ],
63
63
  noLibraryCSS: true,
64
- version: "1.103.1"
64
+ version: "1.106.0"
65
65
  });
66
66
 
67
67
  /**
@@ -240,8 +240,9 @@ sap.ui.define([
240
240
  var oDateInstance = DateFormatUtil.getInstance(oDimension.getTimeUnit());
241
241
  if (oDateInstance) {
242
242
  var fnParser = oDateInstance.parse.bind(oDateInstance);
243
+ var bUTC = oDimension._getIsUTC();
243
244
  oDimensionDefinition.getBindingInfo("value").formatter = function (oValue) {
244
- return fnParser(oValue);
245
+ return fnParser(oValue, bUTC);
245
246
  };
246
247
  }
247
248