Bug 96760 - x-axis time interpretation on psds is annoying
Summary: x-axis time interpretation on psds is annoying
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: plotting (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-11 05:33 UTC by Matthew Truch
Modified: 2005-02-08 23:27 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 2005-01-11 05:33:29 UTC
Version:           1.1.0_dr1 (using KDE KDE 3.3.2)
OS:                Linux

If one has x-axis time interpretation on by default, and you make several plots, of which one or more is a psd, the psd will also interpret its x-axis as time (which it isn't, unless you read in data by frequency, but that must be rare to say the least).  I think that psd's shouldn't interpret their axes as time by default.
Comment 1 George Staikos 2005-02-08 22:18:52 UTC
CVS commit by staikos: 

X axis interpretation in PSD cases from the data wizard is disabled initially

Still one more place to fix this

CCBUG: 96760


  M +19 -16    datawizard.ui.h   1.116
  M +23 -222   kst2dplot.cpp   1.361



Comment 2 George Staikos 2005-02-08 23:27:08 UTC
CVS commit by staikos: 

new PSDs should not interpret as time by default
BUG: 96760


  M +1 -0      kstpsddialog_i.cpp   1.72


--- kdeextragear-2/kst/kst/kstpsddialog_i.cpp  #1.71:1.72
@@ -203,4 +203,5 @@ bool KstPsdDialogI::new_I() {
         plot = kst_cast<Kst2DPlot>(w->view()->findChild(name));
         if (plot) {
+          plot->setXAxisInterpretation(false, KstXAxisInterpretation(), KstXAxisDisplay());
           _curvePlacement->update();
           _curvePlacement->setCurrentPlot(plot->tagName());