[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Oct 5 02:32:21 CEST 2004


CVS commit by arwalker: 

Fix problems with the absolute values displayed on the x-axis and y-axis.

Originally if the range of the x-axis or y-axis became too small to display the axis values in a reasonable amount of space an absolute value would be displayed to the right or above (for the y and x-axis respecitively) the axis label, with delta values on the axes themselves.

A subsequent modification reduced the usefulness of this, by putting the label and absolute value at the same position, but with the label centred and the absolute value left justified. However, this was only helpful when the two did not overlap (which was seldom for anything but a single plot in a large window).

These changes now use the former method when the two would otherwise overlap, and the latter when there is sufficient room to display them on the same line. At the same time it fixes some problems introduced by the first change when the font sizes for the label and asolute value were not the same.


  M +89 -25    kst2dplot.cpp   1.274
  M +2 -2      kst2dplot.h   1.112






More information about the Kst mailing list