Can I add a legend to an IO Graph?

asked 2018-06-28 14:27:08 +0000

Hi,

I have been creating graphs using IO graph. At one point I'm sure, as I moused over the graph, a legend overlayed the top right corner of the chart area. Now I can't seem to get that again.

The problem is that when I save a graph as a .png, the resulting image doesn't include a legend.

How can I get a legend into the .png file?

Thanks and regards...Paul

edit retag flag offensive close merge delete

Comments

That's bizarre. Suddenly the legend has appeared and is now being output in the .png. the situation is this:

If the graph includes a plot with packets as the Y axis unit, the legend appears. If the graph has only plots with Y axis units of Bits, the legend does not appear.

Is this intended?

PaulOfford gravatar imagePaulOfford ( 2018-06-28 15:07:47 +0000 )edit

Is this intended?

My guess is that it isn't and a bug report should be filed. Actually, a bug report should probably file filed even it was intended, because it seems to appear very inconsistently. For example, with Wireshark 2.6.1:

  • No legend appears if only 1 filter, "All packets" is graphed, whether the Y-axis is packets, bits or bytes
  • If another filter is graphed and the Y-axis for both is the same (packets, bits or bytes), then no legend is displayed
  • If another filter is graphed but the Y-axis is different, then the legend is displayed.

So I think, "Why not just always display the legend?"

cmaynard gravatar imagecmaynard ( 2018-06-28 17:54:35 +0000 )edit

Thanks Chris - I will submit a bug report.

PaulOfford gravatar imagePaulOfford ( 2018-06-29 08:34:26 +0000 )edit

Thanks for the work around PaulOfford. This has been driving me nuts for a while now. Hopefully it gets fixed soon.

Also, I agree with cmaynard, the legend should be displayed at all times. Or it could be a simple check box to enable/disable the legend.

sheepdog gravatar imagesheepdog ( 2018-09-27 16:00:52 +0000 )edit