Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    QwtPlot how to create an weekly Xaxis?

    3rd Party Software
    1
    1
    2148
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gronerth last edited by

      Hello guys,

      I was trying to find a method to create an "weekly X axis". I mean I have a bunch of data, and i know that each fixed size it represents a data in a specific week (for example data from 0 to 200 -> means week 1...), so instead of draw in the y axis a label for each specific data, i would like to draw a "week label" for a group of data, something like this:

      !http://128.111.236.185/cacheimages/K552/vault_month.png(Weekly X Axis)!

      I know that i could use the class QwtScaleDraw to reimplement the virtual function: virtual QwtText label(double v) const, but i don't know how to represent a group of data to a single label...

      Thanks in advance


      JETG

      1 Reply Last reply Reply Quote 0
      • First post
        Last post