@sapui5/sap.viz 1.118.0 → 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 +1 -1
- package/src/sap/viz/.library +1 -1
- package/src/sap/viz/library.js +1 -1
- package/src/sap/viz/ui5/controls/VizFrame.js +2 -2
- package/src/sap/viz/ui5/controls/common/BaseControl.js +2 -3
- package/src/sap/viz/ui5/core/BaseChartMetadata.js +1 -1
- package/src/sap/viz/ui5/data/FlattenedDataset.js +4 -0
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.119.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
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
"require",
|
|
28
28
|
"./VizFrameRenderer"
|
|
29
29
|
], function(
|
|
30
|
-
|
|
30
|
+
vizLibrary,
|
|
31
31
|
Dataset,
|
|
32
32
|
Parameters,
|
|
33
33
|
Util,
|
|
@@ -1287,7 +1287,7 @@ sap.ui.define([
|
|
|
1287
1287
|
}
|
|
1288
1288
|
// Render the chart after language resource is ready.
|
|
1289
1289
|
if (this._app$ && this.$()) {
|
|
1290
|
-
|
|
1290
|
+
vizLibrary._applyLocale(function() {
|
|
1291
1291
|
if (this._errorType) {
|
|
1292
1292
|
this._localeChanged = true;
|
|
1293
1293
|
this.invalidate();
|
|
@@ -11,7 +11,7 @@ sap.ui.define([
|
|
|
11
11
|
'sap/viz/library',
|
|
12
12
|
"sap/ui/thirdparty/jquery",
|
|
13
13
|
"./BaseControlRenderer"
|
|
14
|
-
], function(Control, RenderManager, ResizeHandler,
|
|
14
|
+
], function(Control, RenderManager, ResizeHandler, vizLibrary, jQuery) {
|
|
15
15
|
"use strict";
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -65,9 +65,8 @@ sap.ui.define([
|
|
|
65
65
|
this._pendingRerendering = false;
|
|
66
66
|
// Load resources.
|
|
67
67
|
this._resourceLoaded = false;
|
|
68
|
-
|
|
68
|
+
vizLibrary._initializeVIZControls(this.isA("sap.viz.ui5.VizContainer"), function(success) {
|
|
69
69
|
this._resourceLoaded = success;
|
|
70
|
-
|
|
71
70
|
this.invalidate();
|
|
72
71
|
// Set timeout to assure applySetting done
|
|
73
72
|
setTimeout(function() {
|
|
@@ -340,6 +340,10 @@ sap.ui.define([
|
|
|
340
340
|
} else {
|
|
341
341
|
//analytic binding should use getTotalSize to return the correct total length
|
|
342
342
|
length = binding.getTotalSize ? binding.getTotalSize() : binding.getLength();
|
|
343
|
+
var V2ODataModel = sap.ui.require("sap/ui/model/odata/v2/ODataModel");
|
|
344
|
+
if (noPaging && length === -1 && V2ODataModel && (binding.getModel() instanceof V2ODataModel)) {
|
|
345
|
+
length = undefined;
|
|
346
|
+
}
|
|
343
347
|
}
|
|
344
348
|
}
|
|
345
349
|
if (this._bDataReceiveError) {
|