Bug 187064 - base and offset mode cannot be switched off
Summary: base and offset mode cannot be switched off
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.7.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 18:29 UTC by Andrew Walker
Modified: 2009-03-13 23:08 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 Andrew Walker 2009-03-13 18:29:31 UTC
Version:           1.7.0 (using KDE 3.5.10)
OS:                Linux
Installed from:    Compiled From Sources

From Nicolas Brisset:

It seems that asking kst to interpret value as time forces the base and offset mode, even though that is not obvious in the UI (the corresponding checkbox is *not* checked). Worse, there is no way to disable base + offset mode in that case. I understand that the labels can become pretty long when displaying dates, but then we do have the option to rotate axis labels, don’t we ?

What I’d suggest is to simply auto-check base + offset mode when the user checks the “Interpret as” checkbox, and obey it if he decides to uncheck it.
Comment 1 Andrew Walker 2009-03-13 18:30:15 UTC
It sounds as if what you're after is three settings for the base and offset mode:
 
automatic
off
on
Comment 2 Andrew Walker 2009-03-13 23:08:10 UTC
SVN commit 939139 by arwalker:

BUG:187064 add a new base+offset mode so that the user can switch it off. The new modes are auto, on, off

 M  +42 -6     extensions/js/bind_axis.cpp  
 M  +9 -2      extensions/js/bind_axis.h  
 M  +36 -10    libkstapp/kst2dplot.cpp  
 M  +8 -12     libkstapp/kst2dplot.h  
 M  +32 -12    libkstapp/kst2dplotwidget_i.cpp  
 M  +241 -144  libkstapp/view2dplotwidget.ui  


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