Re: barLabels in a stacked HorizontalBarChart()

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
On 09/09/2013 10:23, Helga Peters wrote:
...........
>
> Since the second serie includes the value  '0' the barLabels overwrite
> eachother in the chart. Is it possible to not show the '0' values or

Helga, you probably need to set the value axis forceZero option.

           hbc.valueAxis.forceZero = 1

> better, is it possible to show the total of the two series as a barLabel ?
>

you can get the bars stacked on top of each other using the categoryAxis style 
attribute ie

            hbc.categoryAxis.style = 'stacked'




> Thanks in advance,
> Helga
......

-- 
Robin Becker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.