Results 1 to 4 of 4

Thread: Repaint QSplineSeries

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    May 2011
    Posts
    81
    Thanks
    6
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Thumbs up Re: Repaint QSplineSeries

    I'm using QML for my charts, but I have been able to achieve updating the series without removing and recreating it...

    Qt Code:
    1. wavgSeries.remove(0);
    2. wavgSeries.append(appWin.wxMsec,appWin.wxWavg);
    To copy to clipboard, switch view to plain text mode 

    Basically, removing the first element in the series, then just appending a new one...

    --SamG

  2. The following user says thank you to scgrant327 for this useful post:

    d_stranz (15th May 2017)

Similar Threads

  1. Replies: 4
    Last Post: 17th October 2010, 22:30
  2. repaint widget
    By yxtx1984 in forum Newbie
    Replies: 4
    Last Post: 11th March 2010, 03:51
  3. Use of repaint/update
    By Placido Currò in forum Qt Programming
    Replies: 3
    Last Post: 3rd April 2007, 19:24
  4. Repaint Widget in an other
    By hubert_p in forum Qt Programming
    Replies: 7
    Last Post: 6th November 2006, 12:12
  5. repaint help pls
    By munna in forum Qt Programming
    Replies: 3
    Last Post: 21st June 2006, 10:52

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.