Results 1 to 14 of 14

Thread: How to make the x-Bottom scale fixed.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    52
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Question How to make the x-Bottom scale fixed.

    Hi friends i have a problem with my Plotting program. I have a db in which i save the data i have acquired. Initially the db is empty with no values. I need to have a fixed time scale from 0 to 60 seconds. Now once i click the start acquisition button i have to start acquiring data from a external device and save it to the DB and plot it. Its real time plotting. so i have to plot as i acquire the data. But the x-bottom scale changes according to the amount of data present in the db.
    example - If i have only 4 values acquired to the DB the scale is changed to [0 to 3]. It looks like the image i have attached named (3).

    If have say 40 values are added to the db the scale is changed to 35. It looks like the image i have attached named (35)

    I actually wanted the scale to stay fixed to 60 and the graph to grow from the initial value as the data keeps adding in the graph has to grow gradually.Some thing like the snapshot (60) i have attached.

    what do i need to do so that the x-bottom scale is fixed and the data to be plotted with out changing the scale irrespective of the amount of data present in the DB like in the image named (60).


    Thank You
    Please looking forward for a reply.
    Attached Images Attached Images

Similar Threads

  1. Replies: 7
    Last Post: 15th November 2007, 17:19
  2. How to make headers fixed sized? (QTableWidget)
    By macias in forum Qt Programming
    Replies: 4
    Last Post: 13th August 2007, 15:57
  3. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57

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.