Overwrite Label for Legend

For questions regarding programming in the EViews programming language.

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

BCNAV
Posts: 40
Joined: Tue Oct 31, 2017 9:06 am

Overwrite Label for Legend

Postby BCNAV » Tue Jul 10, 2018 12:03 pm

I have some variables that I have already made display names for. Example:

vfr_cywg.displayname Winnipeg (CYWG)


These are used in making titles for graphs via:
%title="IFR Historical Monthly Raw (Blue) vs. Trend Cycle (Red) for " + {%series1}_{%series2}.@displayname


For the legend, I would like to overwrite the displayname to "Raw Data". I would do this for all variables. Not sure there is a legend key overwrite or not. I could make another variable, but that would get messy.

Thanks

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

Re: Overwrite Label for Legend

Postby EViews Gareth » Tue Jul 10, 2018 3:11 pm

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

The legend argument should do what you want.
Follow us on Twitter @IHSEViews

BCNAV
Posts: 40
Joined: Tue Oct 31, 2017 9:06 am

Re: Overwrite Label for Legend

Postby BCNAV » Wed Jul 11, 2018 5:40 am

thanks!!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 8 guests