[Kst] [Bug 299788] New: Plot axis ranges are off by one pixel

D. V. Wiebe dvw at ketiltrout.net
Fri May 11 01:27:00 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=299788

            Bug ID: 299788
          Severity: normal
           Version: 2.0.4
          Priority: NOR
          Assignee: kst at kde.org
           Summary: Plot axis ranges are off by one pixel
    Classification: Unclassified
                OS: Linux
          Reporter: dvw at ketiltrout.net
          Hardware: Compiled Sources
            Status: UNCONFIRMED
         Component: view objects
           Product: kst

When setting plot limits to fixed values, the lower X limit is plotted one
pixel to the right of the left edge of the plot.  Similarly, the upper Y limit
is plotted one pixel below the top of the plot.

Reproducible: Always

Steps to Reproduce:
1.  Create a new plot object.
2.  Fix the limits of the plot (Edit Plot Item -> Range/Zoom -> X/Y Zoom Mode
-> Fixed) to values which will induce major ticks on the edges of the plots.  
For instance, use from 0 to 1 for both X and Y axes.
Actual Results:  
The 0 tick mark and grid line of the X axis is one pixel to the right of the
left border of the plot.  Similary, the 1 tick mark and grid line of the Y axis
is one pixel below the top border of the plot.

Expected Results:  
The left and top plot range limits should correspond to the edges of the plot,
as the bottom and right limits do.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kst mailing list