QwtPlot how to create an weekly Xaxis?
-
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