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