Results 1 to 7 of 7

Thread: QwtPlotMultiBarChart not equal width

Threaded View

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

    Default Re: QwtPlotMultiBarChart not equal width

    Quote Originally Posted by nanthiran_2005 View Post
    Qt Code:
    1. plotLayout()->setCanvasMargin(0);
    2. updateCanvasMargins();
    To copy to clipboard, switch view to plain text mode 
    The left half of the bars are cut off - guess because your code explicitly removes the margins that are needed for them. Calling QwtPlot::updateCanvasMargins(); manually - outside the replot context - doesn't make much sense too.

    What happens when removing the bad lines above ?

    Uwe

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

    Momergil (23rd June 2014)

Similar Threads

  1. QwtPlotMultiBarChart with raw data
    By Momergil in forum Qwt
    Replies: 2
    Last Post: 14th May 2014, 17:27
  2. Stacked Curves - QwtPlotMultiBarChart
    By GG2013 in forum Qwt
    Replies: 2
    Last Post: 13th August 2013, 02:58
  3. Greater or equal than and smaller or equal than not working..
    By ruben.rodrigues in forum General Programming
    Replies: 3
    Last Post: 27th April 2011, 08:09
  4. What does Updatedata function in MFC equal with Qt?
    By nthung in forum Qt Programming
    Replies: 1
    Last Post: 6th June 2010, 11:58
  5. Equal scales
    By sukram in forum Qwt
    Replies: 1
    Last Post: 22nd July 2008, 07:44

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.