bar width on bar graph

For questions regarding programming in the EViews programming language.

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

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

bar width on bar graph

Postby EviewsUser1 » Wed Jan 29, 2025 9:42 am

this works

group _nfp_group previous_dnfp d(u::lanagra) @movav(d(u::lanagra),3)
freeze(_nfp_graph) _nfp_group.mixed(llast) bar(1,2) line(3)
_nfp_graph.setelem(2) legend("")
_nfp_graph.setelem(1) legend("previous")
_nfp_graph.setelem(3) legend("3-mo MA")
_nfp_graph.addtext(l) "thousands"
_nfp_graph.addtext(font(20,+b),t,ac) "change in nonfarm payroll employment"
_nfp_graph.legend position(4.5,.5) -inbox

but how can I make the bars on the bar graph wider?

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

Re: bar width on bar graph

Postby EViews Gareth » Wed Jan 29, 2025 10:02 am

Depends on what you mean by wider, but you could change the aspect ratio of the frame.

Code: Select all

_nfp_graph.options size(somenumber, someothernumber)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests