Results 1 to 5 of 5

Thread: QwtPlotMarker label position

  1. #1
    Join Date
    May 2013
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default QwtPlotMarker label position

    Hi everybody!
    I'm using QwtPlotMarker in my application and I'd like to set marker label at the top right corner of the plot.
    The label shouldn't moved with the marker and should stay at the fixed position.
    How can I do it?

  2. #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: QwtPlotMarker label position

    Use Qwt 6.1, where you find a new plot item QwtPlotTextLabel.

    Uwe

  3. #3
    Join Date
    May 2013
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QwtPlotMarker label position

    Thanks a lot, Uwe, but is it safe to use beta version of Qwt? And when it's planned to be a stable version?
    For Qwt 6.0.2 the solution cannot be found, am I right?

  4. #4
    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: QwtPlotMarker label position

    is it safe to use beta version of Qwt?
    Yes.
    And when it's planned to be a stable version?
    When I have written down the new install documentation.
    For Qwt 6.0.2 the solution cannot be found, am I right?
    You can backport QwtPlotTextLabel - should be no big deal.

    Uwe

  5. #5
    Join Date
    May 2013
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QwtPlotMarker label position

    Thanks for your help, Uwe!

Similar Threads

  1. Replies: 2
    Last Post: 7th June 2012, 13:04
  2. Qwt: Unable to draw the label from qwtplotmarker?
    By sonulohani in forum Qt Programming
    Replies: 1
    Last Post: 1st June 2012, 13:55
  3. Replies: 5
    Last Post: 11th January 2011, 06:37
  4. how to get the position of mouse click on a label
    By qt_user in forum Qt Programming
    Replies: 1
    Last Post: 9th August 2010, 09:14
  5. make label of QwtPlotMarker invisible
    By rambo83 in forum Qwt
    Replies: 1
    Last Post: 26th November 2009, 12:39

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.