Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. QwtPlot how to create an weekly Xaxis?
Forum Updated to NodeBB v4.3 + New Features

QwtPlot how to create an weekly Xaxis?

Scheduled Pinned Locked Moved 3rd Party Software
1 Posts 1 Posters 2.3k Views 1 Watching
  • 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 Offline
    G Offline
    gronerth
    wrote on 1 Apr 2011, 18:22 last edited by
    #1

    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
    0

    1/1

    1 Apr 2011, 18:22

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved