Graph option gridcust in programs not working properly in individual charts for daily panels

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

mamo
Posts: 191
Joined: Wed Nov 07, 2012 9:11 am

Graph option gridcust in programs not working properly in individual charts for daily panels

Postby mamo » Thu Nov 26, 2020 9:26 am

Dear Eviews team,

I use EVIEWS 11 Sept 2019 built, 64 bit.

The graph option "gridcust" does not work properly in daily panels when invoked in a program.

This happens with daily panels when individual charts for panels within the graph are created (option "panel=i")

The manual grid adjustment via the menu works as expected, and the gridcust option works also in programs applied to quarterly frequency data, or - for any data frequency - when the graph has been generated using the panel options "combined" or "stacked".

See example below code

Kind regards
mamo

Code: Select all

wfcreate d7 01-01-2000 02-28-2000 2
series x=nrnd

freeze(mode=overwrite, chart_panel_i) x.line(panel=i)
chart_panel_i.options gridcust(obs,1)
' Grid not adjusted
show chart_panel_i

freeze(mode=overwrite, chart_panel_c) x.line(panel=c)
chart_panel_c.options gridcust(obs,1)
' Grid adjusted, ok
show chart_panel_c

freeze(mode=overwrite, chart_panel_s) x.line(panel=s)
chart_panel_s.options gridcust(obs,1)
' Grid adjusted, ok
show chart_panel_s

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

Re: Graph option gridcust in programs not working properly in individual charts for daily panels

Postby EViews Jason » Tue Dec 01, 2020 6:51 pm

Thank you for the report and program. We were able to replicate the issue and will be investigating the issue.

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

Re: Graph option gridcust in programs not working properly in individual charts for daily panels

Postby EViews Jason » Wed Dec 02, 2020 2:30 pm

The problem was the 'options' proc did not work in multi-graph situations. In your example, chart_panel_i was a multi graph whereas chart_panel_s and chart_panel_c were single graphs. The problem therefore appeared in only chart_panel_i.

The problem existed in non-panel workfiles as well.

Thanks to your example were able to quickly identify the problem.

It will be fixed in the next patch.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 20 guests