diff --git a/src/component/dataZoom/AxisProxy.ts b/src/component/dataZoom/AxisProxy.ts index 11d5f6c742..8c28b729c6 100644 --- a/src/component/dataZoom/AxisProxy.ts +++ b/src/component/dataZoom/AxisProxy.ts @@ -31,6 +31,7 @@ import { unionAxisExtentFromData } from '../../coord/axisHelper'; import { ensureScaleRawExtentInfo } from '../../coord/scaleRawExtentInfo'; import { getAxisMainType, isCoordSupported, DataZoomAxisDimension } from './helper'; import { SINGLE_REFERRING } from '../../util/model'; +import { getStackedDimension } from '../../data/helper/dataStackHelper'; const each = zrUtil.each; const asc = numberUtil.asc; @@ -303,6 +304,10 @@ class AxisProxy { return; } + zrUtil.each(dataDims, function (dim, index) { + dataDims[index] = getStackedDimension(seriesData, dim); + }); + if (filterMode === 'weakFilter') { const store = seriesData.getStore(); const dataDimIndices = zrUtil.map(dataDims, dim => seriesData.getDimensionIndex(dim), seriesData);