Color bars in bar chart

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

Posts: 63
Joined: Wed Sep 30, 2015 12:24 am

Color bars in bar chart

Postby stefanp » Fri Apr 20, 2018 5:23 am

I use a panel within which I sample at two specific periods. Furthermore, I restrict my sample to a couple of cross sections and plot individual barcharts.

How can I set different colors for the filling of the bars for each of the two periods?

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

Re: Color bars in bar chart

Postby EViews Jason » Tue Apr 24, 2018 2:10 pm

You may need to create different series for each sample period and then graph the 2 series together. From here, freeze the graph to create a graph object and then use the 'setelem' command.

We can give you more specific instructions but a copy of your workfile and an indication of which data source (series or group) you would like to graph would greatly help.

If your data are proprietary, send your workfile to and reference this thread.

Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 3 guests