Results 1 to 2 of 2

Thread: how to remove the white border of the canvas

  1. #1
    Join Date
    Oct 2009
    Posts
    1

    Default how to remove the white border of the canvas

    how to remove the white border of the canvas,between the curve and the border of the QwtPlot
    Screenshot.png

  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: how to remove the white border of the canvas

    Such a border might result from your scales or some layout attributes - hard to know from a screenshot only.

    But probably you want to do this:

    Qt Code:
    1. plot->plotLayout()->setCanvasMargin( 0 );
    To copy to clipboard, switch view to plain text mode 
    Uwe

Similar Threads

  1. Replies: 2
    Last Post: 21st March 2012, 14:30
  2. How to remove the border?
    By P@u1 in forum Newbie
    Replies: 1
    Last Post: 21st June 2011, 23:42
  3. qwt canvas border
    By stefan in forum Qwt
    Replies: 1
    Last Post: 7th March 2011, 16:10
  4. How to remove QMainWindow's title and border
    By meraj ansari in forum Qt Programming
    Replies: 1
    Last Post: 13th May 2010, 17:22
  5. Remove Widget Border?
    By winston2020 in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2008, 05:26

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.