UPDATE: Quick Fonts for multiple bar graph object (EV7)

For questions regarding programming in the EViews programming language.

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

nadja123
Posts: 72
Joined: Thu Aug 06, 2009 10:43 am

UPDATE: Quick Fonts for multiple bar graph object (EV7)

Postby nadja123 » Wed Oct 26, 2011 2:53 am

Hello there,

referring to my previous post, I was maybe too quick with saying that the suggested command worked fine.

Code: Select all

graph1.textdefault font("Arial", 14) existing

I'd swear that when I first tested it (writing in the command window), it really worked.
However, I now noticed, that I does not work if I run this within a program, nor it work with graph objects that were frozen and saved with the workfile in a previous session.
So, what does the functionality of this actually depend on? Do I need more commands before / after this? Etc... Sorry I am confused. Help will be much appreciated. Thank you.

EViews Pamela
EViews Developer
Posts: 54
Joined: Wed Sep 17, 2008 2:52 pm

Re: UPDATE: Quick Fonts for multiple bar graph object (EV7)

Postby EViews Pamela » Wed Oct 26, 2011 10:05 am

I have tested the command in both cases you mentioned, and it appears to work correctly.

Do you have the most current EViews update?

nadja123
Posts: 72
Joined: Thu Aug 06, 2009 10:43 am

Re: UPDATE: Quick Fonts for multiple bar graph object (EV7)

Postby nadja123 » Sat Oct 29, 2011 12:45 pm

Hello there,

sorry for the delay with my answer. I think our version is Standard Edition - Jan 7 2010 build...
Thank you.

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

UPDATE: Quick Fonts for multiple bar graph object (EV7)

Postby EViews Gareth » Sat Oct 29, 2011 12:51 pm

That is massively out of date. You should update to the latest version. http://eviews.com/download/download.html
Follow us on Twitter @IHSEViews

nadja123
Posts: 72
Joined: Thu Aug 06, 2009 10:43 am

Re: UPDATE: Quick Fonts for multiple bar graph object (EV7)

Postby nadja123 » Sat Oct 29, 2011 1:39 pm

Hello there,

so I upgraded / updated to 7.2 Standard Edition Oct 14 2011 build.
I re-run my program. The proposed command

Code: Select all

graph1.textdefault font("Arial", 14) existing

reset the "RULE_T1", "RULE_T2" chart titles and "Frequency" at the left vertical axes.
The axis fonts I needed to reset by additional commands

Code: Select all

graph1.axis(id) font("Arial", 14)

Back to the manual option Quick Fonts, I tried to apply it on a previously created (frozen) graph object. It will set all fonts as wished, except for the size of the two chart titles font which is a number higher (e.g. pt 16, then title is pt 18).
So, neither of the two options (the command or the manual reset) is the same as what I had in mind as a ML user ("set this font everywhere").
But, okay for me the way it is. I appreciate very much your input and my apologies for the confusion with the testing.
Attachments
demo_2_compressed.jpg
demo_2_compressed.jpg (39.69 KiB) Viewed 4632 times


Return to “Programming”

Who is online

Users browsing this forum: Bob and 39 guests