.displayname for transformed series

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

blb22
Posts: 9
Joined: Wed Mar 29, 2017 6:40 am

.displayname for transformed series

Postby blb22 » Thu Jan 17, 2019 4:20 am

I have a series "TOTALSA" which i have given the displayname "vehicle_sales".

However, when i plot transformations of that series, my graph does not show the appropriate displayname (it shows "@pcy(totalsa)") (see chart attached).

Any way to have transformations take the display name of the original series by default?
Attachments
g1.png
g1.png (14.88 KiB) Viewed 3058 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13305
Joined: Tue Sep 16, 2008 5:38 pm

Re: .displayname for transformed series

Postby EViews Gareth » Thu Jan 17, 2019 9:05 am

Unfortunately not.

Of course you can always overwrite the legend of the graph to be whatever you want.

http://www.eviews.com/help/helpintro.ht ... 23ww175617
Follow us on Twitter @IHSEViews

blb22
Posts: 9
Joined: Wed Mar 29, 2017 6:40 am

Re: .displayname for transformed series

Postby blb22 » Thu Jan 17, 2019 9:14 am

EViews Gareth wrote:Unfortunately not.

Of course you can always overwrite the legend of the graph to be whatever you want.

http://www.eviews.com/help/helpintro.ht ... 23ww175617



Ah ok. That could work.

Is there a way to automate it such that if the series transformation "@PCY(TOTALSA)" is used in any graph, override the legend for that chart (will save me cycling through hundreds of charts)

I'm thinking a matrix (called names for example) [["pcy(totalsa)", "vehicle sales yoy"],[...],[...]], whereby i can write a program to look in names and override the legend...?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13305
Joined: Tue Sep 16, 2008 5:38 pm

Re: .displayname for transformed series

Postby EViews Gareth » Thu Jan 17, 2019 9:23 am

That could work, although you'd have to use a table rather than a matrix (matrices can only hold numbers).
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 26 guests