Bug 108409 - Legends should use the whole plot width
Summary: Legends should use the whole plot width
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.1.0
Platform: unspecified Solaris
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-01 18:24 UTC by Nicolas Brisset
Modified: 2005-11-25 10:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Brisset 2005-07-01 18:24:03 UTC
Version:           1.1.0 (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

When plotting multiple curves in a same graph, it is often useful to display legends. However, they currently use a lot of vertical space as legend items are packed vertically. This often makes it difficult to find a place to put the legend without it hiding parts of the curves.

I'd very much appreciate an option (checkbox) in the plot dialog along with other legend options to tell legends to wrap only when they've used up the whole plot width, and not with every item.

The appropriate amount of white space should be used to delimit various items. Another, slightly more advanced, set of options could be spinboxes to specify horizontal/vertical space to use between items (but I think sensible defaults would be better).
Comment 1 Andrew Walker 2005-07-20 22:43:56 UTC
SVN commit 437062 by arwalker:

BUG:108409 Allow user to specify horizontal or vertical layout of the legend. The default is vertical.

 M  +8 -8      kst2dplot.cpp  
 M  +1 -1      kst2dplot.h  
 M  +202 -76   kstlegend.cpp  
 M  +10 -7     kstlegend.h  
 M  +6 -5      kstplotdialog_i.cpp  
 M  +228 -180  plotdialog.ui  
Comment 2 Nicolas Brisset 2005-11-25 10:19:40 UTC
Using this feature with a plot containing a large number of items, I notice that it does not wrap nor is automatically shrinked to fit in the available space. This is really cumbersome. If it could be fixed, it would make the feature so much more usable !