This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch fix-dataZoom
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit c5a1265682d8dbee1c8e4d21e459756d5e2ad04f
Author: Ovilia <[email protected]>
AuthorDate: Tue Jun 17 15:48:06 2025 +0800

    fix(dataZoom): fix cases with dataset, relates to #16978
---
 src/component/dataZoom/SliderZoomView.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/component/dataZoom/SliderZoomView.ts 
b/src/component/dataZoom/SliderZoomView.ts
index 69323dbed..ce1d6e5e8 100644
--- a/src/component/dataZoom/SliderZoomView.ts
+++ b/src/component/dataZoom/SliderZoomView.ts
@@ -516,11 +516,12 @@ class SliderZoomView extends DataZoomView {
                 }
 
                 otherDim = seriesModel.getData().mapDimension(otherDim);
+                const thisDim = seriesModel.getData().mapDimension(axisDim);
 
                 result = {
                     thisAxis: thisAxis,
                     series: seriesModel,
-                    thisDim: axisDim,
+                    thisDim: thisDim,
                     otherDim: otherDim,
                     otherAxisInverse: otherAxisInverse
                 };


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to