Possible setobslabel bug on unstructured pages

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

sebank
Posts: 1
Joined: Mon Jun 22, 2020 11:36 pm

Possible setobslabel bug on unstructured pages

Postby sebank » Wed Jun 24, 2020 12:37 am

Hi,

I recently came across the following unpredictable behavior. I am plotting every fourth observation (bar chart) and would like to set the labels for these observations. On a quarterly page, I can set the first, fifth, etc label and get the desired plot. If the page is unstructured, it instead sets every second label.

Here is a small reproducible example:

Code: Select all

WfCreate q 2014Q1 2020Q1
Smpl @All If @Mod(@Trend,4)=0
Series x = nrnd
Graph fig.bar x
fig.setobslabel(clear) lab1
fig.setobslabel(1, current) lab1
fig.setobslabel(5, current) lab5
fig.bar

PageCreate u 1 28
Smpl @All If @Mod(@Trend,4)=0
Series x = nrnd
Graph fig2.bar x
fig2.setobslabel(clear) lab1
fig2.setobslabel(1, current) lab1
fig2.setobslabel(5, current) lab5
fig2.bar


Here is the output. Note that lab5 is differently placed.

Image

I am using Standard Edition, Jun 15 2020 build, Eviews 11. I believe that this behavior was absent earlier this spring (maybe March or April), so it might have been introduced in one of the recent patches.

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

Re: Possible setobslabel bug on unstructured pages

Postby EViews Jason » Wed Jun 24, 2020 10:57 am

That is actually bug that has been in for quite some time.

We will get it fixed in the next patch.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 14 guests