Number of decimal in bar labels

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator

Posts: 15
Joined: Mon Mar 20, 2017 1:36 am

Number of decimal in bar labels

Postby jsemeano » Tue May 02, 2017 10:56 am

Dear all,

I am producing some bar graphs with labels for my data. I would like to change the number of decimals that show up in the labels.

Any suggestion on how to do this?

Thank you very much,

EViews Jason
EViews Developer
Posts: 700
Joined: Tue Sep 16, 2008 3:50 pm

Re: Number of decimal in bar labels

Postby EViews Jason » Mon Aug 07, 2017 9:44 am

If you are referring to the data axis labels, you can via the axis command

Code: Select all

mygraph.axis(l) format(dec=2)

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests