flamegraph
flamegraph copied to clipboard
Readme should mention the SVG is interactive
The default image viewer on some systems shows it as a simple image and the function names are too long to fit. It took me a while to figure out that i can open it in e.g. firefox and hover over them to see the full name.
Additional info: If you host the SVG on an image hosting site like 0x0.st, it will not be interactive. But if you load the image from a local file system, it will be. This is due to browser security policies that I'm not very familiar with.
@eminence Sorry for necro-posting, but that's actually not correct. Hosting externally doesn't matter, rather the way the svg is embedded in the page.
If you embed the file on the page using a <img src="https://blah.svg"/>
tag, then it won't be interactive, but if you use a <iframe src="https://blah.svg"/>
it will be interactive.
Tested against Chrome and Firefox.