Page 1 of 1

custom x-axis labels on bar graph

Posted: Tue Jan 28, 2025 11:53 am
by EviewsUser1
the following works:

graph _lastyr.bar(p) nfp_fromlastyear
_lastyr.setobslabel "govt" "mining and manuf" "construction"

but I actually have a longer list of labels that I have read into an alpha series. The alpha series is call names. How can I use names to fill in the custom labels on the x-axis?

Re: custom x-axis labels on bar graph

Posted: Tue Jan 28, 2025 1:11 pm
by EViews Gareth

Code: Select all

_lastyr.setobslabel(series) names

Re: custom x-axis labels on bar graph

Posted: Tue Jan 28, 2025 2:34 pm
by EviewsUser1
perfect! thanks!