@sapui5/sap.chart 1.117.2 → 1.119.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.chart",
3
- "version": "1.117.2",
3
+ "version": "1.119.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-2023 SAP SE. All rights reserved.</copyright>
8
- <version>1.117.2</version>
8
+ <version>1.119.0</version>
9
9
 
10
10
  <documentation>Smart viz control based on Vizframe</documentation>
11
11
 
@@ -2062,9 +2062,10 @@ sap.ui.define([
2062
2062
  oOData4SAPAnalyticsModel = this._createOData4SAPAnalyticsModel(oModel);
2063
2063
  this._setIsAnalyticalProperty(oOData4SAPAnalyticsModel, oBindingInfo);
2064
2064
  if (this.getIsAnalytical()) {
2065
+ var V2ODataModel = sap.ui.require("sap/ui/model/odata/v2/ODataModel");
2065
2066
  if (oBindingInfo) {
2066
2067
  var bNoPaging = true;
2067
- if (oBindingInfo.length != undefined || this._isEnablePaging()) {
2068
+ if (oBindingInfo.length != undefined || this._isEnablePaging() || V2ODataModel && (oModel instanceof V2ODataModel)) {
2068
2069
  bNoPaging = false;
2069
2070
  }
2070
2071
  oBindingInfo.parameters = jQuery.extend(true, {
@@ -2113,9 +2114,10 @@ sap.ui.define([
2113
2114
  oOData4SAPAnalyticsModel = this._createOData4SAPAnalyticsModel(oModel);
2114
2115
  this._setIsAnalyticalProperty(oOData4SAPAnalyticsModel, oBindingInfo);
2115
2116
  if (this.getIsAnalytical()) {
2117
+ var V2ODataModel = sap.ui.require("sap/ui/model/odata/v2/ODataModel");
2116
2118
  if (oBindingInfo) {
2117
2119
  var bNoPaging = true;
2118
- if (oBindingInfo.length != undefined || this._isEnablePaging()) {
2120
+ if (oBindingInfo.length != undefined || this._isEnablePaging() || V2ODataModel && (oModel instanceof V2ODataModel)) {
2119
2121
  bNoPaging = false;
2120
2122
  }
2121
2123
  oBindingInfo.parameters = jQuery.extend(true, {
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @constructor
30
30
  * @public
31
31
  * @since 1.38.0
32
- * @name sap.chart.data.TimeDimension
32
+ * @alias sap.chart.data.TimeDimension
33
33
  */
34
34
  var TimeDimension = Dimension.extend("sap.chart.data.TimeDimension", {
35
35
  metadata : {
@@ -64,23 +64,41 @@ sap.ui.define([
64
64
  TimeDimension.prototype.setFiscalYearPeriodCount = ChartUtils.makeNotifyParentProperty("fiscalYearPeriodCount");
65
65
  TimeDimension.prototype.setProjectedValueStartTime = ChartUtils.makeNotifyParentProperty("projectedValueStartTime");
66
66
  /**
67
- * Set a new UTC value for the time dimension
67
+ * Sets whether to use UTC for the time dimension
68
68
  *
69
69
  * @private
70
- * @param {boolean} bUTC set the time dimension data to be parsed with UTC option true/false
70
+ * @param {boolean} bUTC set the time dimension data is parsed in UTC or not
71
71
  */
72
72
  TimeDimension.prototype._setIsUTC = function(bUTC) {
73
73
  this._bUTC = bUTC;
74
74
  };
75
75
  /**
76
- * get the time dimension data UTC value
76
+ * Returns if UTC is used for the time dimension
77
77
  *
78
78
  * @private
79
- * @return {boolean} true if the time dimension data shoud be parsed with UTC option, otherwise return false
79
+ * @return {boolean} true if the time dimension data is parsed in UTC, otherwise return false
80
80
  */
81
81
  TimeDimension.prototype._getIsUTC = function() {
82
82
  return this._bUTC;
83
83
  };
84
84
 
85
+
86
+ /**
87
+ * Sets whether to use UTC for the time dimension
88
+ * @param {boolean} bUTC set the time dimension data is parsed in UTC or not
89
+ * @public
90
+ */
91
+ TimeDimension.prototype.setIsUTC = function(bUTC) {
92
+ this._setIsUTC(bUTC);
93
+ };
94
+ /**
95
+ * Returns if UTC is used for the time dimension
96
+ * @return {boolean} true if the time dimension data is parsed in UTC, otherwise return false
97
+ * @public
98
+ */
99
+ TimeDimension.prototype.getIsUTC = function() {
100
+ return this._getIsUTC();
101
+ };
102
+
85
103
  return TimeDimension;
86
104
  });
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  "sap.chart.data.Measure"
62
62
  ],
63
63
  noLibraryCSS: true,
64
- version: "1.117.2"
64
+ version: "1.119.0"
65
65
  });
66
66
 
67
67
  /**