Summary: | Axis values display strangely | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | George Staikos <staikos> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | demonstration |
Description
George Staikos
2004-09-13 21:01:56 UTC
Could you submit some more details, as I am unable to reproduce this. Are you talking about the x-axis or y-axis, with rotation or without, what is your data range, etc Created attachment 7526 [details]
demonstration
The 40000 is not directly underneath the tick mark in the first plot, for
instance, and the numbers are touching the axis line.
As a note: I Saw the effect on George's computer, but not on mine... CVS commit by arwalker: Ensure old ticklabel settings are updated properly. Remove obsolete code. CCMAIL: 89437-done@bugs.kde.org M +1 -2 kst2dplot.cpp 1.265 --- kdeextragear-2/kst/kst/kst2dplot.cpp #1.264:1.265 @@ -175,4 +175,5 @@ Kst2DPlot::Kst2DPlot(QDomElement& e) in_xticklabel = new KstLabel(" "); in_xticklabel->read(el); + in_xticklabel->setJustification(CxTy); in_yticklabel = new KstLabel(" "); in_yticklabel->read(el); @@ -4818,5 +4819,4 @@ void Kst2DPlot::plotAxes(QPainter& p, QR XFullTickLabel->setText(labelList[0]); XFullTickLabel->draw(p, d2i(xleft_bdr_px), y_px-(XLabel->lineSpacing(p) - XLabel->ascent(p))/2); - //XFullTickLabel->draw(p, x_px/2, y_px-XLabel->lineSpacing(p)-(XFullTickLabel->lineSpacing(p) - XFullTickLabel->ascent(p))/2); labelList.pop_front(); } @@ -4841,5 +4841,4 @@ void Kst2DPlot::plotAxes(QPainter& p, QR YFullTickLabel->setText(labelList[0]); YFullTickLabel->draw(p, (YLabel->lineSpacing(p) - YLabel->ascent(p))/2, d2i(y_px - ybot_bdr_px)); -// YFullTickLabel->draw(p, (YFullTickLabel->lineSpacing(p) - YFullTickLabel->ascent(p))/2 + YLabel->lineSpacing(p), y_px/2); labelList.pop_front(); } |