When increasing the width of the flamegraph via resizing its container, the chart can get cutoff and not display the entire chart.
The flameview html has an onresize event attribute on the body, which tries to update the d3-flame-graph width with the size of the document window . This new width value gets passed to the graph labels, but doesn't update the svg width .. so if there was an increase in width then the new graph width will be larger than the displayed svg - resulting in cutoff. I have raised an issue with this on the upstream repository , although this can be addressed by using css to overwrite the width of the svg .. and I should have a PR opened soon that does just that.
1. open the flamegraph view
2. increase the width of the graph by either increasing the size of the JMC window, or dragging the outline view
3. the chart will be clipped on the right-hand side
before-screenshot.png - shows the clipping in JMC
before-gif.gif - shows how its reproduced
different-dimensions.jpg - shows a reproducer of the flamegraph but displayed in Chromium for debugging purposes. The cyan is the body, the light green is the svg, and I've underlined the relevant dimensions in red
hidden-rect.png - inspecting in Chromium, shows that the label extends further than what's shown in the svg