Page 1 of 1

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

Posted: Thu Nov 26, 2020 9:26 am
by mamo
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

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

Posted: Tue Dec 01, 2020 6:51 pm
by EViews Jason
Thank you for the report and program. We were able to replicate the issue and will be investigating the issue.

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

Posted: Wed Dec 02, 2020 2:30 pm
by EViews Jason
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.