Bug 129489 - Auto-update for axis labels
Summary: Auto-update for axis labels
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Solaris
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 15:11 UTC by Nicolas Brisset
Modified: 2008-01-18 23:41 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 Nicolas Brisset 2006-06-20 15:11:24 UTC
Version:           1.3.0_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

I think I had requested this quite a while ago, but some foundation work was lacking at that time and it was postponed to later. I believe everything that is needed is in place now, but I don't actually think I went as far as making a bugzilla entry (at least I can't find it any longer), so here it is...

A very professional touch to kst would be to allow auto-updating of axis names based on plot contents. My proposal would be to replace the "Auto label" button in the plot dialog->Appearance tab with a checkbox. If the user makes a manual entry in one of the X or Y label lineedits, the checkbox would be unchecked. When checked, any change in contents or curve definition (e.g. X vector used) would trigger an axis label update.
Comment 1 George Staikos 2006-06-20 21:02:21 UTC
  This requires some thinking (ie: a plan) about the performance impact along 
with an implementation similar to what is in KstViewLabel.
Comment 2 Andrew Walker 2007-12-14 22:05:34 UTC
The current behaviour is that if a new curve is added to a plot the axes labels are automatically updated - overriding any user-defined axis label. This is clearly not desirable.
Comment 3 Andrew Walker 2007-12-15 00:17:29 UTC
SVN commit 748606 by arwalker:

CCBUG:129489 first draft of desired functionality for auto-labelling of axes

 M  +31 -4     kst2dplot.cpp  
 M  +13 -2     kst2dplot.h  
 M  +88 -6     kst2dplotwidget_i.cpp  
 M  +7 -1      kst2dplotwidget_i.h  
 M  +95 -96    view2dplotwidget.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=748606
Comment 4 Andrew Walker 2008-01-18 23:41:48 UTC
SVN commit 763232 by arwalker:

BUG:129489 Correctly handle auto-labelling of axes and title.

 M  +0 -1      kst.cpp  
 M  +3 -3      kst2dplot.cpp  
 M  +3 -1      kstmatrixtable.cpp  
 M  +2 -0      kstviewmatricesdialog_i.cpp  
 M  +1 -1      kstviewvectorsdialog_i.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=763232