@sapui5/sap.chart 1.84.38 → 1.84.40

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.84.38",
3
+ "version": "1.84.40",
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)",
@@ -6,7 +6,7 @@
6
6
  <copyright>SAPUI5
7
7
 
8
8
  (c) Copyright 2009-2020 SAP SE. All rights reserved</copyright>
9
- <version>1.84.38</version>
9
+ <version>1.84.40</version>
10
10
 
11
11
  <documentation>Smart viz control based on Vizframe</documentation>
12
12
 
@@ -756,11 +756,14 @@ sap.ui.define([
756
756
 
757
757
  Chart.prototype.setVisibleMeasures = function(aMeasureNames, bSuppressInvalidate) {
758
758
  this.setProperty("visibleMeasures", aMeasureNames, bSuppressInvalidate);
759
- var oStackTop = this._getDrillStateTop();
759
+ var oDrillStateStack = this._drillStateStack || [];
760
760
  if (!this._bIsInitialized) {
761
761
  this._createDrillStack();
762
762
  } else {
763
- oStackTop.measures = this.getProperty("visibleMeasures");
763
+ //Update all drill-stack levels with new visible measures.
764
+ oDrillStateStack.forEach(function(oDrillState){
765
+ oDrillState.measures = this.getProperty("visibleMeasures");
766
+ }.bind(this));
764
767
  }
765
768
 
766
769
  this._invalidateBy({
@@ -48,7 +48,7 @@ sap.ui.define(['sap/viz/ui5/format/ChartFormatter', // library dependency
48
48
  "sap.chart.data.Measure"
49
49
  ],
50
50
  noLibraryCSS: true,
51
- version: "1.84.38"
51
+ version: "1.84.40"
52
52
  });
53
53
 
54
54