Page 1 of 1

Stacked bar chart

Posted: Wed Nov 26, 2008 2:11 am
by Katjes
Is there a simple command to produce a stacked bar chart which sums up to 100%.
My example:
Two series A and B can be pictured by a stacked bar chart, but the total level varies over time and do not sum up to 100% (to 1). In a multiple step procedure I got the favoured results but I guess that there is a simple command.
Do you have suggestions?

The pedestrian version as follows:
genr total=a+b
genr s_a=a/total
genr s_b=b/total
graph s_a s_b

Re: Stacked bar chart

Posted: Wed Nov 26, 2008 12:45 pm
by EViews Pamela
There is not a direct EViews command for this. Your current method is probably the easiest.

Re: Stacked bar chart

Posted: Thu Nov 27, 2008 12:44 am
by Katjes
It's a pity that there is no command, but can be a suggestion for the next version. :wink:
(Because in simple Excel Charts it's possible - However I prefer merging various charts in Eviews!)