Error message when graphobjects are displayed
Posted: Thu Jun 27, 2019 10:09 pm
When creating graph object I usually get data from other workfiles directly instead of first copy them in the same workfiles where the graphs are produced.
The workfiles whit the data is sometimes updated, removed or not available. My idea is that this should not affect the workfile with the grapobject.
So if I later open the workfile with the graps and shows the graphobjects Eviews reports a error message (but only for those graphs where there is a function included in the expression of the line/bar)
In the codeexampel below I get "C:\TEMP\DATA1.WF1::A\SERIES1 is not a valid index for @PCY in "SHOW G3" on line 17.", but after the error message everything seems ok.
Is this a bug?
(Eviews Enterprise Edition 11 – Jun 25 2019 build)
Regards Johan
The workfiles whit the data is sometimes updated, removed or not available. My idea is that this should not affect the workfile with the grapobject.
So if I later open the workfile with the graps and shows the graphobjects Eviews reports a error message (but only for those graphs where there is a function included in the expression of the line/bar)
In the codeexampel below I get "C:\TEMP\DATA1.WF1::A\SERIES1 is not a valid index for @PCY in "SHOW G3" on line 17.", but after the error message everything seems ok.
Is this a bug?
(Eviews Enterprise Edition 11 – Jun 25 2019 build)
Regards Johan
Code: Select all
LogMode(name="logg",filename="c:\temp\error.txt", autosave=on, clearfile) error
Cd c:\Temp
WfCreate(page=a) a 2010 2020
Series series1 = @Trend
WfSave c:\temp\data1.wf1
Close @All
WfCreate a 2010 2020
Graph g1.Line data1.wf1::a\series1
Graph g2.Line data1.wf1::a\series1*100
Graph g3.Line @Pcy(data1.wf1::a\series1)
Shell del c:\temp\data1.wf1
WfSave c:\temp\data2.wf1
Show g1
Show g2
Show g3