Results 1 to 3 of 3

Thread: QwtBarChart Start from Nonzero

  1. #1
    Join Date
    Sep 2017
    Posts
    2
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default QwtBarChart Start from Nonzero

    Is there a good way to modify the Y-interval for the rectangle parameters of the QwtColumnSymbol for QwtBarChart so that the bars could be fixed from a nonzero such as 10 or -5?

    I do not necessarily need a floating barchart, where each bar has its own unique start and stop locations, but that would also work for my application.

    Thanks!

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

    Default Re: QwtBarChart Start from Nonzero

    Maybe: barChart->setBaseline( ... ) ?

    See http://qwt.sourceforge.net/class_qwt...f2880a4bf683ad.

    Uwe

  3. #3
    Join Date
    Sep 2017
    Posts
    2
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: QwtBarChart Start from Nonzero

    Thanks! I think that is what I needed.

Similar Threads

  1. How to start Qt5
    By franky in forum Newbie
    Replies: 5
    Last Post: 26th August 2021, 09:50
  2. The gui is not start
    By ugiwgh in forum Qt Programming
    Replies: 15
    Last Post: 7th November 2014, 11:50
  3. Start a thread automatic at start
    By ralphot in forum Qt Programming
    Replies: 3
    Last Post: 10th July 2013, 16:54
  4. start
    By Sandeep in forum Newbie
    Replies: 1
    Last Post: 21st May 2008, 19:42
  5. ask: how to start app within app
    By rian191 in forum Qt Programming
    Replies: 4
    Last Post: 25th February 2008, 07:53

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.