bingDBdu commented on issue #10478:
URL: https://github.com/apache/echarts/issues/10478#issuecomment-2058398198
dame it. I got it fixed in my case. I can only guarantee that it works in my
setup. But obviously, this isn't the best way, or even a good way, to handle
it. We need to come up with a better solution.
it's my solution:
```tsx
import ReactECharts from "echarts-for-react";
const option = {
// ...
// option defines
// ...
}
<ReactECharts
option={option}
style={{ width: 3000, height: 400, minWidth: 800, minHeight: 400 }}
/>
```
add the style `style={{ width: 3000, height: 400, minWidth: 800, minHeight:
400 }}` to give it a `wight` and `height`. refer to
https://github.com/CarterLi/vue3-echarts/issues/1#issuecomment-1841623887
--
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]