Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Bar labels in stacked bar chart

From   Friedrich Huebler <>
Subject   st: Bar labels in stacked bar chart
Date   Sat, 3 Apr 2004 13:39:05 -0800 (PST)

Is it possible to prevent the drawing of selected bar labels in a
stacked bar chart? Take a look at this example:

. sysuse auto, clear
. xi: graph bar i.rep78, stack percent over(foreign) blabel(bar,

The bar for "Foreign" has no cases with rep78=2 and therefore a 0 is
drawn at the bottom of the bar. Can the drawing of this 0 be
prevented? I found no solution in the manual or in the Statalist

Thank you for your help.

Friedrich Huebler

Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index