@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
package/src/sap/chart/.library
CHANGED
package/src/sap/chart/Chart.js
CHANGED
|
@@ -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
|
|
762
|
+
var oDrillStateStack = this._drillStateStack || [];
|
|
763
763
|
if (!this._bIsInitialized) {
|
|
764
764
|
this._createDrillStack();
|
|
765
765
|
} else {
|
|
766
|
-
|
|
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({
|