[reportlab-users] [PATCH] Missing labels from HorizontalBarChart
mjf at pearson.co.uk
Wed Oct 28 12:14:16 EDT 2009
I had a VerticalBarChart with no ticks drawn on the category axis. When
I replaced it with an otherwise identical HorizontalBarChart, the labels
disappeared from the category axis.
When checking whether the labels should be drawn, the
YCategoryAxis.makeTickLabels tests self.visibleTicks, where it should
test self.visibleTicks (as XCategoryAxis does)
I've attached a trivial patch to fix this.
Pearson Publishing Ltd
Chesterton Mill, French's Road, Cambridge CB4 3NP
Tel: 01223 350555 Fax: 01223 356484 http://www.pearsonpublishing.co.uk/
Registered in England No 2853229
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the reportlab-users