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: k...@kde.org
          Reporter: manum...@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 watching all bug changes.

Reply via email to