stacked bar plus line graph
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
stacked bar plus line graph
hi everyone,
i am not sure how to make the following chart. I have three series a,b,c and i would like to have in one graph a stacked bar of [a,b] with left-hand scale and a line graph of [c] on the right-hand scale.
is this possible? i managed to have the stacked bars and line but i can't differentiate the scales.
thanks a lot for any help,
M.
i am not sure how to make the following chart. I have three series a,b,c and i would like to have in one graph a stacked bar of [a,b] with left-hand scale and a line graph of [c] on the right-hand scale.
is this possible? i managed to have the stacked bars and line but i can't differentiate the scales.
thanks a lot for any help,
M.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
Re: stacked bar plus line graph
I don't believe it is possible to have a mixture of a stacked bar and a line.
Follow us on Twitter @IHSEViews
Re: stacked bar plus line graph
Hello, I'm confronted with the same problem. Bascially, I don't need different scales, but "only" a graph with stacked bars and a line (see example below). Is there really no way to build such a graph in EViews? I would highly appreciate to get any hints how to solve this issue.
- Attachments
-
- graph.jpg (15.98 KiB) Viewed 17436 times
Re: stacked bar plus line graph
Really no ideas?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: stacked bar plus line graph
Something kind of like this?
Re: stacked bar plus line graph
I have been looking for a solution to this as well. How did you create this?
Re: stacked bar plus line graph
This kind of chart is quite frequently used, so it would be great if it could be included as soon as possible. One example is a chart that shows GDP growth as a line and the growth contributions of GDP components as stacked bars.
Re: stacked bar plus line graph
Any news on this?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
Re: stacked bar plus line graph
Any solution for how to do this in EViews 9?
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: stacked bar plus line graph
It can be done in EViews 9 via mixed graphs.
Code: Select all
group g x y z 'create a group containing x y z
g.mixed stackedbar(1,2) line(3) 'create a mixed graph where x and y are stacked bars and z is a line
Re: stacked bar plus line graph
That's great to hear.
Nice work!
Nice work!
Re: stacked bar plus line graph
Hi, saw that you can do a stacked bar with line via the mixed option.
However, the end result is still a group, instead of a graph.
I want to change the barstacked options to excel type, but having trouble doing so since the object is a group
Is there anyway of having the result as a graph object, instead of a group object?
Another reason for having it as a graph (instead of group) object is to change Legend names, which i'm currently not able to do either. Any advice?
Thanks,
However, the end result is still a group, instead of a graph.
I want to change the barstacked options to excel type, but having trouble doing so since the object is a group
Is there anyway of having the result as a graph object, instead of a group object?
Another reason for having it as a graph (instead of group) object is to change Legend names, which i'm currently not able to do either. Any advice?
Thanks,
Last edited by osindi on Thu Aug 18, 2016 8:15 am, edited 1 time in total.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
Who is online
Users browsing this forum: No registered users and 16 guests