two row date labels

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

maxchen
Posts: 191
Joined: Fri Oct 10, 2008 4:03 pm

two row date labels

Postby maxchen » Mon Aug 17, 2015 7:27 am

EV9.20150728

on P248—Chapter 1. Object Reference

Code: Select all

graph1.datelabel format(yy:mm, q)
will display a two-digit year followed by a “q” separator and then a two-digit month (e.g. –“74q04”). This may not be the truth

Code: Select all

'datelabel in irregular dates: 2 row, tick and minor tick pageload od.txt graph gf1.spike y gf1.addtext(t) "" gf1.axis tickson pagecopy(page=odm) y pagestruct(freq=m) @date(dn) graph gf2.spike y gf2.addtext(t) "" gf2.axis tickson copy gf2 gf01 gf01.datelabel format(yyyy:mm,q) copy gf2 gf02 gf02.datelabel format(yyyy:mm,yyyy) copy gf2 gf03 gf03.datelabel format(yyyy:mm,mm) copy gf2 gf04 gf04.datelabel format(yyyy:mm,M) copy gf04 gf05 gf05.datelabel format(" ") pageload odw.txt graph gf3.spike y gf3.addtext(t) "" gf3.axis tickson ' gf3.datelabel format(yyyy[m]mm,q) ' gf3.datelabel interval(m,6) gf3.axis duallevel
data
odw.txt
weekly irregular
(951 Bytes) Downloaded 364 times
od.txt
monthly irregular
(197 Bytes) Downloaded 343 times
in page odm, for the date labels, gf01=gf02=gf03=gf04, and gf2=gf05

other problems:
in page od, the gf1 looks like (day on first row, and yyyymm on 2nd row)
gf1.png
gf1.png (8.31 KiB) Viewed 3177 times
in page odw, the gf3 allows "two row date labels", however, only one row

my suggestions: for axis, there is tick marks and minor tick, is it possible for users to control the first row and second row of the date label, such as

Code: Select all

gf1.axis duallevel gf1.datelabel format(mm-dd, yyyy)
where for gf1, the first row label will be month and day, and the second row will be year in YYYY,

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: two row date labels

Postby EViews Jason » Mon Aug 17, 2015 1:19 pm

The example has not been updated. The example should read

Code: Select all

graph1.datelabel format(yy[q]mm)
In regards to 'other problems:"
Unfortunately you cannot set the format on a line by line basis. We will look into adding this feature for future versions.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest