Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bar Graph Labels: Stata Displaying Float Date Format, Not String Date Format

    Hi everyone, brand new user here.

    Code:
    graph bar (count) if DOS <= date("1oct2017","DMY"), missing over(DOS, label(angle(vertical) format(%td)) )

    See my graph image attached, that is what stata is outputting. I'm trying to get it to display the dates instead of the Float values. format(%td) appears to be not doing anything, as I get the same result in either case.

    In the data browser, DOS is formatted by "DMY" and shows as "1aug2017", but it is a float value as recommended by the "Dates and Times" helpfile.

    Help please? Thank you!
    Attached Files
Working...
X