Bug 85828 - plots waste space if their are no labels/titles attached to them
Summary: plots waste space if their are no labels/titles attached to them
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-24 02:06 UTC by Matthew Truch
Modified: 2004-07-27 02:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Truch 2004-07-24 02:06:42 UTC
Version:           0.99devel (using KDE KDE 3.2.1)
Installed from:    RedHat RPMs
OS:                Linux

When you have a plot that doesn't have axis labels or a title, the space where the label would live is still wasted (the plot doesn't grow and fill this space).  This space shouldn't be wasted (especially important for printed pages and small windows).
Comment 1 George Staikos 2004-07-24 19:38:43 UTC
Some space is wasted by design.  Perhaps the top and bottom label space could be squished down though.
Comment 2 Andrew Walker 2004-07-26 19:16:13 UTC
The problem here is that often the user may have aligned a plot with no labels 
with one that does have labels. In this case they would almost certainly want 
to have the y-axes aligned, which would no longer be the case if we expand 
the plot without labels into the unused label region.

Comment 3 Matthew Truch 2004-07-26 23:59:28 UTC
Would it be too difficult to expand the plot only if there were no cases where it is aligned with another plot that does have a label etc?
Comment 4 Netterfield 2004-07-27 00:04:17 UTC
I think the full solution is:
	(i) extend the x-border allignment stuff to give min width for all 4 borders
	(ii) convince labels to return a height of 0 if they are empty

(ii) can be done immediately and trivially.  We can see if it causes trouble.

Comment 5 Netterfield 2004-07-27 02:31:02 UTC
*** Bug has been marked as fixed ***.