diff --git a/src/component/dataZoom/DataZoomView.ts b/src/component/dataZoom/DataZoomView.ts index 2bee7dd8e7..3441bdaf7c 100644 --- a/src/component/dataZoom/DataZoomView.ts +++ b/src/component/dataZoom/DataZoomView.ts @@ -35,6 +35,15 @@ class DataZoomView extends ComponentView { this.dataZoomModel = dataZoomModel; this.ecModel = ecModel; this.api = api; + + // force to refresh the chart + this.api.dispatchAction({ + type: 'dataZoom', + batch: [{ + start: 0, + end: 100 + }] + }); } }