Page 1 of 1
Graph date scale option in 21 december 2016 patch
Posted: Thu Dec 22, 2016 6:01 am
by ErikG
Hi,
We are having some graph problems with the latest patch. I'm not exactly sure what it is but it seems to be related to the axis scaling options for creating graphs. Have you changed the way the options should be written?
The error message is "Illegal date scale option interval(y,4) ... "
in annual data graphs. The error persists regardless of the value of the second argument.
Seasons greetings,
/Erik(NIER, Sweden)
Re: Graph date scale option in 21 december 2016 patch
Posted: Thu Dec 22, 2016 6:22 am
by KUN0
Same problem in my end.
Re: Graph date scale option in 21 december 2016 patch
Posted: Thu Dec 22, 2016 6:39 am
by RNYMOEN
Same herre. prg file with graphs that has been ticking steadily for years chrashed after upgrading a couple of minutes ago:
MESSAGE:
Ilegal date scale option internal(y,3,Fsh) in "Do_gx14.Datelabel interval(y,3,Fsh)
Ragnar Nymoen
Re: Graph date scale option in 21 december 2016 patch
Posted: Thu Dec 22, 2016 6:40 am
by RNYMOEN
Same here. prg file with graphs that has been ticking steadily for years chrashed after upgrading a couple of minutes ago:
MESSAGE:
Ilegal date scale option internal(y,3,Fsh) in "Do_gx14.Datelabel interval(y,3,Fsh)
Ragnar Nymoen
Re: Graph date scale option in 21 december 2016 patch
Posted: Thu Dec 22, 2016 7:05 am
by RNYMOEN
My prg stops here (somewhere) after the patch-upgrade
SMPL 2002Q1 2019q4
scalar FSh = 2002
series negskatth=-skatth_0m
series negrenteut = -renteuth_0m
graph gx14.area(s) negskatth negrenteut loennh_0m renteinnh_0m drifth_0m resinnth
gx14.addtext(t, font(13),textcolor(0,105,147)) "Husholdningenes inntektssammensetning"
gx14.addtext(l,font(8)) "Mill. kroner"
gx14.setelem(1) legend("Skatt")
gx14.setelem(2) legend("Renteutgifter")
gx14.setelem(3) legend("Lønn")
gx14.setelem(4) legend("Renteinntekter")
gx14.setelem(5) legend("Driftsresultat")
gx14.setelem(6) legend("Andre inntekter")
gx14.options size(2.82,2.265) -inbox framewidth(0.65)
gx14.legend -inbox columns(3) font("arial",9)
gx14.axis(b) -minor font("arial",8) textcolor(@rgb(0,0,0))
gx14.axis(l) -minor font("arial",8) textcolor(@rgb(0,0,0))
gx14.datelabel interval(y,3,FSh)
gx14.draw(line,bottom,color(ltgray),width(1),top) 2016:1
Re: Graph date scale option in 21 december 2016 patch
Posted: Tue Dec 27, 2016 10:53 am
by EViews Jason
Next patch will have it fixed.
Re: Graph date scale option in 21 december 2016 patch
Posted: Tue Dec 27, 2016 4:28 pm
by EViews Jason
Patch is now available. Select help->EViews update to obtain the latest
Re: Graph date scale option in 21 december 2016 patch
Posted: Wed Dec 28, 2016 6:16 am
by KUN0
Looks good. Thanks!