Results 1 to 1 of 1

Thread: How to display external legends in Qwt?

  1. #1
    Join Date
    Nov 2010
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default How to display external legends in Qwt?

    Hi everyone,

    I'm trying to create a plot with an external legends. I looked forward some simple instructions which show me the way.

    I know that after configuring the legends, I have to use this instruction:
    Qt Code:
    1. insertLegend(d_legend, QwtPlot::ExternalLegend);
    To copy to clipboard, switch view to plain text mode 
    but I couldn't find a way to print them. Usually people say use printlegend (or something) to do that. I tried but it was unsuccessful

    Would you please send me a simple piece of code which shows how to that?
    Consider that my plot name is Plot and put the legend in a layout named HLayout.

    Thanks
    Last edited by saliemam; 1st December 2010 at 03:49.

Similar Threads

  1. Spacing around legend items
    By FilipeMaia in forum Qwt
    Replies: 5
    Last Post: 13th August 2015, 09:15
  2. Qwt Legend Parent
    By BlackFoXX in forum Qwt
    Replies: 1
    Last Post: 21st April 2009, 07:10
  3. legend inside qwt plot
    By kaustav98255 in forum Qwt
    Replies: 5
    Last Post: 11th February 2009, 20:39
  4. Removing Legend
    By cnbp173 in forum Qwt
    Replies: 4
    Last Post: 23rd January 2009, 20:52
  5. Qwt Legend
    By maxpayne in forum Qwt
    Replies: 4
    Last Post: 15th October 2008, 17:17

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.