Page 1 of 1

Stacked bar chart not displaying observations below 0

Posted: Thu Dec 28, 2023 7:42 am
by helpmecodeplease
Hello,

I have a stacked bar chart bein created in my program using:

Code: Select all

graph graph1.bar(s) group1
It looks fine except for the observations that are below 0, those don't show up, only positive values are represented.

Any ides how tofix that?

Thanks

Re: Stacked bar chart not displaying observations below 0

Posted: Thu Dec 28, 2023 7:46 am
by EViews Gareth
It probably is working, but if you want to stack negative values separately from positive values, you'll need:

Code: Select all

graph1.options stackposneg

Re: Stacked bar chart not displaying observations below 0

Posted: Thu Dec 28, 2023 8:09 am
by helpmecodeplease
perfect, thank you.