Bug 356255 - X axis is not correct when a second tab plotting a subset of the same data is added.
Summary: X axis is not correct when a second tab plotting a subset of the same data is...
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: plotting (show other bugs)
Version: 2.0.8
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 17:56 UTC by Don V
Modified: 2016-01-06 22:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don V 2015-12-03 17:56:01 UTC
I have experienced this when plotting anywhere from 2 - 5 data sets. What I like to do is have a live display of the same data with varying time periods. When I add a second tab with the same data as the first only plotting a smaller time period the axis is the same as the first tab. It may be that I am not using the tool in a way that is standard but it would be nice if the second tab would be correct. Also it seems like if I zoom on either tab and don't have it tied across all the plots the axis gets messed up as well. 

Reproducible: Always

Steps to Reproduce:
1. open a file with more then two data sets
2. plot each data set as a seperate tab
3. open a second tab with same data sets and plot less data

Actual Results:  
X-axis on will be the same on both tabs

Expected Results:  
X-axis should be reflective of actual number of same/time on each tab.
Comment 1 Netterfield 2016-01-06 22:58:01 UTC
Git commit 35d9ff2d8e743342c2890f09d9866e1bf882bdd9 by Barth Netterfield.
Committed on 06/01/2016 at 22:53.
Pushed by netterfield into branch 'master'.

Improve UI with a warning of inconsistent X vector.
Re-using an x vector from a previous plot is probably
what you want to do if you have kept the data range
the same, but probably not what you wanted if you
have changed the data range.  Add a warning and a
suggestion on how to fix it if your selected x vector
does not match the new Y vectors in the datawizard.

M  +58   -2    src/libkstapp/datawizard.cpp
M  +5    -2    src/libkstapp/datawizard.h
M  +61   -24   src/libkstapp/datawizardpagedatapresentation.ui

http://commits.kde.org/kst-plot/35d9ff2d8e743342c2890f09d9866e1bf882bdd9