I use this to create a chart:
BarChart[ Reverse@data , BarOrigin -> Left, ChartLabels -> Placed[{ Reverse@labels , Reverse@data }, {Before, After}], ChartElementFunction -> "FadingRectangle" ]
With data = {7, 10, 0, 6, 0, 3, 5}
this gives
The problem is that some of the data values ββare 0, and BarChart
will not even add labels for them. Instead, it leaves open space. How can I make it still add labels, even if the values ββare 0?
This is with Mathematica 8.
Mr Alpha
source share