Results 1 to 6 of 6

Thread: Width of Bars in MultiPlotBarChart Item.!

  1. #1
    Join Date
    Jul 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default Width of Bars in MultiPlotBarChart Item.!

    Hello,

    How can I change the width of the bars in a Stacked Bar Chart (MultiPlotBarChart Item) ?

    Thanks in Advance.

  2. #2
    Join Date
    Jul 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Width of Bars in MultiPlotBarChart Item.!

    Hello guys,

    I would be glad if someone can tell me, if there is any solution to this or not.
    Is there a way to modify the width of the bars in a Stacked Bar Chart (MultiPlotBarChart Item) ?

    Thanks.

  3. #3
    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: Width of Bars in MultiPlotBarChart Item.!


  4. #4
    Join Date
    Jul 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Width of Bars in MultiPlotBarChart Item.!

    Thanks Uwe,
    I know this is the way to do it.
    But I am not sure how to use it optimally.
    Do you suggest modifying the layoutHint using setlayoutHint() ?

    Tapisha

  5. #5
    Join Date
    Jul 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Width of Bars in MultiPlotBarChart Item.!

    Is it possible to change the width of an individual bar irrespective of others ?

  6. #6
    Join Date
    Jan 2014
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Width of Bars in MultiPlotBarChart Item.!

    I am looking for a way to give the bars a maximum width.
    But otherwise work like AutoAdjustSamples.
    Is there a way to do this?
    Thanks in advance.

Similar Threads

  1. Replies: 0
    Last Post: 10th March 2015, 02:03
  2. Replies: 8
    Last Post: 5th January 2011, 11:51
  3. Item width in QListView
    By bepaald in forum Qt Programming
    Replies: 0
    Last Post: 17th August 2010, 13:42
  4. QToolBox width fixed to maximum content width
    By ghorwin in forum Qt Programming
    Replies: 0
    Last Post: 10th July 2009, 09:58
  5. How to set QTableView width to width of horizontal header?
    By martinb0820 in forum Qt Programming
    Replies: 0
    Last Post: 2nd December 2008, 20:51

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.