Hello,
I'm struggeling to add the formated date labels to my x-axis when using the graph bar (count) command.
My dates look like this:
Value
123 2020m1
124 2020m2
125 2020m3
and so on...
And my graph code is as followes:
graph bar (count) , over(date, label(angle(45)))
I would like to add in tlabel(,format(%tm)) to get my x-axis to say '2020m1 2020m2...' instead of '123, 124..'. But that only gives me an error message saying 'tlabels(,format(%tm)) not allowed, xaxis1 does not exist'
Are there any other ways of doing this?
I'm struggeling to add the formated date labels to my x-axis when using the graph bar (count) command.
My dates look like this:
Value
123 2020m1
124 2020m2
125 2020m3
and so on...
And my graph code is as followes:
graph bar (count) , over(date, label(angle(45)))
I would like to add in tlabel(,format(%tm)) to get my x-axis to say '2020m1 2020m2...' instead of '123, 124..'. But that only gives me an error message saying 'tlabels(,format(%tm)) not allowed, xaxis1 does not exist'
Are there any other ways of doing this?
Comment