Ticket #11 (closed defect: fixed)
Y axis label overlaps tick labels
| Reported by: | jae@… | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description
The Y axis label overlaps the tick labels if the tick labels are NOT rotated. You can replicate this bug by simply removing the Y axis rotation in the barchart.py example. After running you can see it in vbarchart.png.
The problem appears to be not taking the ticksize and padding into account for the width calculations in _getTickSize(). You do it for height, which is why this doesn't happen for the X axis label, but not the width.
I've attached a simple patch that does this for the width.
The patch also removes a double variable (tickHeight was set twice).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
