Results 1 to 5 of 5

Thread: Labels shift axis in the wrong position

  1. #1
    Join Date
    Apr 2010
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy Labels shift axis in the wrong position

    Hi everyone, I'm new to this forum, so be patinet!!

    First, I've installed the patch for multiple axes plot.

    Look at the attached screenshoot and you'll see what's wrong... xBottom axis show labels correctly but axis is shifted right a few pixels. why?

    I've tryed setMinBorderDist(), setBorderDist() but I still get a wrong layout for the axis. Can someone help me to close this issue?

    Obviously I'm using a custom class to draw scale like cpuplot example...

    Thanks!!!!
    Attached Images Attached Images

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Labels shift axis in the wrong position

    I remember such a bug in an earlier Qwt version ( 5.1 ? ) - but the patch has never been ported to 5.2.

    Uwe

  3. #3
    Join Date
    Apr 2010
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Labels shift axis in the wrong position

    Hi Uwe, thanks for reply. Are you talking about the multiple axis patch?

    d.

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Labels shift axis in the wrong position

    Quote Originally Posted by driven View Post
    Are you talking about the multiple axis patch?
    Yes I do,
    Uwe

  5. #5
    Join Date
    Apr 2010
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Labels shift axis in the wrong position

    Quote Originally Posted by Uwe View Post
    Yes I do,
    Uwe
    So no easy solutions available for now... any suggestion? The idea of putting my hand inside Qwt source code is scaring me a lot!

    Do you (or someone else) know if Qwt developers are planning to integrate muiltiple axis management for future releases?

Similar Threads

  1. y-axis tick labels trimmed
    By gib in forum Qwt
    Replies: 2
    Last Post: 2nd April 2010, 05:19
  2. Axis with more labels
    By rakkar in forum Qwt
    Replies: 1
    Last Post: 11th October 2009, 09:26
  3. Axis Labels Rendering Quality
    By ChrisW67 in forum Qwt
    Replies: 0
    Last Post: 21st July 2009, 00:49
  4. Histogram axis labels as text
    By DKGear in forum Qwt
    Replies: 1
    Last Post: 30th December 2008, 08:54
  5. Relocating axis labels
    By malcom2073 in forum Qwt
    Replies: 0
    Last Post: 9th May 2008, 13:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.