eventlog2html icon indicating copy to clipboard operation
eventlog2html copied to clipboard

Labels in key are cut off

Open jberryman opened this issue 5 years ago • 3 comments

Thanks for writing this, I'm finding it really useful!

I'm using eventlog2html with +RTS -h (on a non--prof build) and notice the labels aren't readable if they are too long (both when mousing over graph and in the key):

1

and on mouse over:

2

jberryman avatar Jul 29 '19 21:07 jberryman

Oh sorry, so the mouseover example is due to the cost-centre stack name limit (I needed to use e.g. +RTS -L200). But long enough names still overflow the popup. I'd love if in at least one of these places I could view the entirety of the stack text

jberryman avatar Jul 30 '19 13:07 jberryman

We are unfortunately limited by the library we are using to render these images. There is not a lot of flexibility to produce responsive layouts which can adapt to different label sizes.

I'm surprised though that if you are using the eventlog that you have to pass +RTS -L as well. I thought the labels in the eventlog were unbounded.

mpickering avatar Sep 09 '19 08:09 mpickering

This is fixed, in some way, by #112

mpickering avatar Oct 12 '19 19:10 mpickering