Results 1 to 3 of 3

Thread: About QwtPlotRenderer with QwtTextLabel

  1. #1
    Join Date
    Jul 2013
    Posts
    72
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default About QwtPlotRenderer with QwtTextLabel

    There are some QwtTextLabels on a plot , can i use QwtPlotRenderer to render the labels?

  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: About QwtPlotRenderer with QwtTextLabel

    As QwtTextLabel is a widget I guess they are over not on the plot. Then you would have to overload QwtPlotRenderer::renderCanvas() and write some code.
    Another option is to use QwtPlotItems instead - f.e QwtPlotMarker or QwtPlotTextLabel.

    Uwe

  3. #3
    Join Date
    Jul 2013
    Posts
    72
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: About QwtPlotRenderer with QwtTextLabel

    Thanks a lot

Similar Threads

  1. Replies: 1
    Last Post: 23rd October 2014, 10:13
  2. Replies: 3
    Last Post: 22nd August 2013, 13:57
  3. Possible bug in QwtPlotRenderer
    By BettaUseYoNikes in forum Qwt
    Replies: 1
    Last Post: 29th November 2011, 09:00
  4. Printing Problem in QwtTextLabel
    By umulingu in forum Qwt
    Replies: 1
    Last Post: 26th March 2010, 11:34

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.