Bug 89892 - Autoscale should take into account only the visible area
Summary: Autoscale should take into account only the visible area
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: plotting (show other bugs)
Version: 1.x
Platform: unspecified Solaris
: NOR wishlist
Target Milestone: ---
Assignee: Rick Chern
URL:
Keywords:
: 96248 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-20 18:20 UTC by Nicolas Brisset
Modified: 2005-06-21 01:16 UTC (History)
1 user (show)

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 Nicolas Brisset 2004-09-20 18:20:36 UTC
Version:           1.0.0_devel (using KDE 3.3.0, compiled sources)
Compiler:          gcc version 3.3.2
OS:                SunOS (sun4u) release 5.8

When using the cool zooming features, I often have the following problem: I have created curves where the variation range is +/- 50 for Y, X varying from 0 to 100. When I want to look more closely at what happens around X = 10 and Y happens to be varying between +/- 2 in that area, the Y range set with auto scale on is still in the +/- 50 range of the complete curve.
The expected behavior would be to autoscale the Y axis according to the currently visible values only.
Comment 1 Andrew Walker 2004-10-04 19:32:01 UTC
If this is implemented it should be done only as an optional checkbox. The default behaviour should remain as is.

If you are looking at rapidly scrolling data it is easier to quickly ascertain the current values if the range of the y-axis remains constant with time. To have it changing with every update should only be done if specifically requested by the user.
Comment 2 Nicolas Brisset 2004-10-04 23:46:10 UTC
I fully agree with your comment. Maybe the best way to implement this would be to autoscale on the visible area only when a manual request to autoscale Y is performed (contextual menu or keyboard accelerator). If you just zoom/scroll in X, Y axes are not screwed up, but if you need to you can easily zomm in Y on a subset of the curves.
Sounds really good to me :-)
Comment 3 Netterfield 2005-03-04 22:00:47 UTC
*** Bug 96248 has been marked as a duplicate of this bug. ***
Comment 4 Rick Chern 2005-06-21 01:16:30 UTC
SVN commit 427544 by rchern:

Add local y maximum zoom function to context menu - shortcut key Shift+L

CCMAIL: 89892-done@bugs.kde.org

 M  +95 -33    kst2dplot.cpp  
 M  +7 -1      kst2dplot.h