Results 1 to 3 of 3

Thread: How to specify Symbol position in the QwtPlotMarker?

  1. #1
    Join Date
    Jun 2014
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default How to specify Symbol position in the QwtPlotMarker?

    Hi, everybody!
    I am using QwtPlotMarker(VLine). I want to add symbol to the marker and I want that symbol to be on the bottom of the marker. For label I would use QwtPlotMarker::setLabelAlignment(Qt::AlignBottom) function. Is there anything like that for Symbol?

  2. #2
    Join Date
    Dec 2013
    Location
    Toronto, Canada
    Posts
    62
    Thanked 16 Times in 15 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How to specify Symbol position in the QwtPlotMarker?

    QwtSymbol::setPinPoint() ... maybe
    I never used that method before.. Once time permits I will look at it more closely

  3. #3
    Join Date
    Jun 2014
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How to specify Symbol position in the QwtPlotMarker?

    Cah, thank you for your reply. I have read qwt_plot_marker source code and found the solution. Symbol vertical position specified by marker.setYvalue(double y) function.

Similar Threads

  1. Replies: 8
    Last Post: 1st July 2013, 13:20
  2. QwtPlotMarker label position
    By mole in forum Qwt
    Replies: 4
    Last Post: 21st May 2013, 08:27
  3. Replies: 2
    Last Post: 7th June 2012, 14:04
  4. Custom symbol for QwtPlotMarker
    By pkj in forum Qwt
    Replies: 12
    Last Post: 3rd June 2012, 17:11
  5. Replies: 5
    Last Post: 11th January 2011, 07:37

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.