Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] echart toolbox dataview display unnormal #20675

Open
tq1158 opened this issue Jan 10, 2025 · 2 comments
Open

[Bug] echart toolbox dataview display unnormal #20675

tq1158 opened this issue Jan 10, 2025 · 2 comments
Labels
en This issue is in English pending We are not sure about whether this is a bug/new feature. topic: toolbox

Comments

@tq1158
Copy link

tq1158 commented Jan 10, 2025

Version

5.3.2

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/hardcore-resonance-9yhtm8

Steps to Reproduce

your can see demo in codesandbox

Current Behavior

6a23d5f8174485bc7c8261a8d5e5c55
140215a0d9e811394ed4372ddea2735
when i click dataview button, the rerenderred dataview page copy all page

Expected Behavior

the rerenderred dataview page don't display in the echart container area

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@tq1158 tq1158 added the bug label Jan 10, 2025
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Jan 10, 2025
@helgasoft
Copy link

the rendered dataview page don't display in the charts container area

agree. If you set width/height to chart, these dimensions go to a div around the chart's canvas.
While dataview expands to the size limits of chart-container.
The hierarchy is:
<div id='chart-container'> <div width=... height=...> <canvas> </div> </div>
Effect is unexpected (Demo) - yes, but is this a bug when nothing has been promised... cant say for sure.

@plainheart
Copy link
Member

Just set the chart container's CSS position to 'relative'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English pending We are not sure about whether this is a bug/new feature. topic: toolbox
Projects
None yet
Development

No branches or pull requests

3 participants