Discussion:
[kst] [Bug 394771] New: Changing y-range in a shared axis box plot affects y-range of other x-tied plots
b***@kde.org
2018-05-27 22:50:35 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394771

Bug ID: 394771
Summary: Changing y-range in a shared axis box plot affects
y-range of other x-tied plots
Product: kst
Version: 2.0.8
Platform: MS Windows
OS: MS Windows
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: plotting
Assignee: ***@kde.org
Reporter: ***@hotmail.de
Target Milestone: ---

What I did:
- create three plots, and place two in a shared axis box
- tie x-zoom for all three plots (Ctrl-t)
- click on one plot in the shared axis box to select it, and press e-key
- in "edit plot item" dialog, goto "Range/Zoom" page, check "Y Zoom Mode" =
fixed and change the range values, click ok

What I expected to happen:
- the y-axis range of the selected plot should change to the new values

What actually happened:
- the y-axis range of all three plots changed to the new values


The problem seems to dissapear if I remove following lines from method
void SharedAxisBoxItem::zoomYRange(const QRectF &projection, PlotItem*
originPlotItem):
foreach(PlotItem* plotItem, plotTied) {
plotItem->zoomYRange(projection, true);
}

I would like to use the shared axis box for plotting 10 to 20 binary signals in
one box, and have another plot on the tab showing signals with wider range, so
the shared axis is really good to save a lot of space!
--
You are receiving this mail because:
You are the assignee for the bug.
b***@kde.org
2018-09-12 19:13:44 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=394771

***@astro.utoronto.ca changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |***@astro.utoronto.
| |ca
Status|UNCONFIRMED |RESOLVED

--- Comment #1 from ***@astro.utoronto.ca ---
Fixed with commit that fixed 394742
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...