Graphing panel data: one cannot render dual axes overlapping manually at once for each cross-sectional sub-chart

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: 192
Joined: Wed Nov 07, 2012 9:11 am

Graphing panel data: one cannot render dual axes overlapping manually at once for each cross-sectional sub-chart

Postby mamo » Thu Nov 14, 2019 2:06 am

Dear EVIEWers

I use Eviews 11, Sept 2019 build

in a panel chart which has individual charts for each cross-section, it is not possible to make two vertical axes (left and right) overlapping manually, for all cross-sectional sub-charts at once, by using the menu "Options for all graphs" of the graph objects menus.
New Picture.jpg
New Picture.jpg (57.16 KiB) Viewed 8448 times


Rather, one has to change the overlapping of axes for each sub-chart individually via "options for the selected".

This is cumbersome when the combined chart contains many sub-charts from a panel structure.

I found that it is possible to render axes of combined graphs showing individual panel graphs as overlapping in a program (see example program below).

This bug does not happen when graphing data which do not have a panel structure, or when panel data are shown in a stacked or a combined graph.

Best,

mamo


Code: Select all

wfcreate a 2000 2010 4 ' create panel data
series x=nrnd+4
series y=nrnd+5
series z=nrnd+40
group gr x y z
if @isobject("_$gra") then
   delete _$gra
endif
freeze(mode=overwrite, _$gra) gr.line(panel=i)
' the bug does not happen when the
' freeze(mode=overwrite, _$gra) gr.line(panel=stack )

_$gra.setelem(3) axis(r)
' switching on the overlapping of axis works in program code
' _$gra.axis(r) overlap
show _$gra
' with panel data, it is not possible to switch on
' overlapping of the right axis manually!


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 16 guests