LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Month markers in a time scale

Hi all.


Is it possible to display in a XY-Graph a time scale with markers at every beginning of a month? I can't achieve it since I have to specify a constant time increment.

 

Regards,

Francisco

0 Kudos
Message 1 of 3
(2,237 Views)

Do you have a data example of what you would like to do? A data set for us to work with is very helpful when trying to give you a solution.

Tim
GHSP
0 Kudos
Message 2 of 3
(2,222 Views)

Without more details such as data size, format etc., I can only give you an outline of what I would do. 

 

MonthXAxisLabels.png

 

I generate the seconds value for the beginning of the month for 60 points in the x range.  60 is a guess, small number for quick calculation, but enough points so that I find more points than LV will draw labels.  Duplicate values are removed by the variant, and the Marker Vals are then set to the beginnings of the months.  For good measure I show the format string you need to have LV format the marker labels with abbreviated month names.

0 Kudos
Message 3 of 3
(2,207 Views)