Results 1 to 3 of 3

Thread: Blank space at right side of plot

  1. #1
    Join Date
    Sep 2009
    Posts
    57
    Thanks
    7
    Thanked 5 Times in 4 Posts

    Question Blank space at right side of plot

    See attached screenshot with blank space on the RHS of the main plot.

    This seems to be related to the majorTicks interval but not sure. I would love to get rid of it, since it is not always there and when scolling a plot it makes the experience a bit jerky.

    I saw some past posts about setExtent which I tried to play with, but didn't really understand what it was doing.

    Can anyone tell me how to ensure the plot does not contain this blank space?

    TIA,
    Mark
    Attached Images Attached Images

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

    Default Re: Blank space at right side of plot

    Should be a bug in a previous version of Qwt, that you need because of the 8y axes patch.

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    liversedge (1st August 2010)

  4. #3
    Join Date
    Sep 2009
    Posts
    57
    Thanks
    7
    Thanked 5 Times in 4 Posts

    Default Re: Blank space at right side of plot

    After re-applying the 8 axis patch to the latest from svn the blank space remained.

    I needed to add
    plotLayout()->setAlignCanvasToScales(true);

    and the blank space disappeared.

    Cheers,
    Mark

Similar Threads

  1. DockWidget side by side
    By Donner in forum Newbie
    Replies: 1
    Last Post: 1st February 2013, 10:25
  2. side-by-side configuration is incorrect
    By trueqt in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2009, 00:35
  3. Replies: 1
    Last Post: 26th July 2009, 15:08
  4. Stack two QMenuBars instead of side by side?
    By killerwookie99 in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2008, 06:27
  5. Replies: 5
    Last Post: 15th February 2008, 02:54

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.