Bug 85828

Summary: plots waste space if their are no labels/titles attached to them
Product: [Applications] kst Reporter: Matthew Truch <matt>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***.