@sapui5/sap.chart 1.108.18 → 1.108.20

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.108.18",
3
+ "version": "1.108.20",
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.108.18</version>
8
+ <version>1.108.20</version>
9
9
 
10
10
  <documentation>Smart viz control based on Vizframe</documentation>
11
11
 
@@ -759,11 +759,14 @@ sap.ui.define([
759
759
 
760
760
  Chart.prototype.setVisibleMeasures = function(aMeasureNames, bSuppressInvalidate) {
761
761
  this.setProperty("visibleMeasures", aMeasureNames, bSuppressInvalidate);
762
- var oStackTop = this._getDrillStateTop();
762
+ var oDrillStateStack = this._drillStateStack || [];
763
763
  if (!this._bIsInitialized) {
764
764
  this._createDrillStack();
765
765
  } else {
766
- oStackTop.measures = this.getProperty("visibleMeasures");
766
+ //Update all drill-stack levels with new visible measures.
767
+ oDrillStateStack.forEach(function(oDrillState){
768
+ oDrillState.measures = this.getProperty("visibleMeasures");
769
+ }.bind(this));
767
770
  }
768
771
 
769
772
  this._invalidateBy({
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  "sap.chart.data.Measure"
62
62
  ],
63
63
  noLibraryCSS: true,
64
- version: "1.108.18"
64
+ version: "1.108.20"
65
65
  });
66
66
 
67
67
  /**