Results 1 to 2 of 2

Thread: how to solve the limit of plot length

  1. #1
    Join Date
    Jun 2008
    Posts
    11
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question how to solve the limit of plot length

    I have to draw a curve that maybe 6000 meters long,but when i draw the curve use qwt plot it can not draw it correctly
    how should I do ? Thank you !!
    You can see that part of the plot seems ok,but the rest part of the plot just black....

    noname.jpg
    Last edited by baoxuefei771; 29th May 2011 at 11:15. Reason: updated contents

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

    Default Re: how to solve the limit of plot length

    The black areas are covering the frames of the canvas - looks like there are some widgets that are layered on top of the canvas.

    Check the widgets in your application ( for example dump the widget tree ) and try to find out which widgets are at these positions.

    Also check the realtime example for using scrollbars. Using a scrollview like in your screenshot is not a good idea.

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    baoxuefei771 (30th May 2011)

Similar Threads

  1. pixel lenght of QString
    By suneel1310 in forum Qt Programming
    Replies: 3
    Last Post: 10th September 2010, 20:35
  2. How can I solve this?
    By srohit24 in forum Qt Programming
    Replies: 8
    Last Post: 7th April 2009, 07:00
  3. Checking max text lenght to fit in line edit?
    By maverick_pol in forum Qt Programming
    Replies: 2
    Last Post: 16th June 2008, 00:24
  4. How to solve simultanious equations...??
    By joseph in forum General Programming
    Replies: 2
    Last Post: 28th May 2008, 10:53
  5. why qte2.3.1 can kill tty? how to solve it?
    By gwhhwgy in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 25th July 2006, 19:59

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.