wanghsinche commented on issue #11962:
URL: https://github.com/apache/echarts/issues/11962#issuecomment-1364677076
same issue, and the dev team hasn't fixed it for a long time. After
investigation, I used the the setoption to reset the zoom and viewport. It
works exactly!
```js
echartRef.setOption(
{
series: [
{
name: SERIES_NAME,
id: SERIES_NAME,
zoom: 1,
center: [
width / 2,
height / 2
],
}
]
}
);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]