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

Canvas size related to initial size of a graph, should use the full space #835

Open
hzeller opened this issue Mar 4, 2024 · 0 comments
Open

Comments

@hzeller
Copy link
Member

hzeller commented Mar 4, 2024

Please answer these questions before submitting your issue. Thanks!

What version of pprof are you using?

github head.

What operating system and processor architecture are you using?

x86_64
Relevant for this issue: Webbrowser Chromium 122.0.6261.69

What did you do?

Running pprof with --http option to get the web UI

The UI opens with the call graph, which looks nice and appears to be using the full available browser window as canvas:

a

... however, when zooming, it is revealed that the canvas was, in fact, sized after the original aspect ratio of the overview graph. You see in this zoomed-in view of the graph, that the bottom is exactly cut at the border of the original overview canvas:

b

What I would like to see

The canvas should fill the available space in the window, even if it is not fully needed in the vertical range initially ... after zooming it certainly is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant