{5} Assigned, Active Tickets by Owner (Full Description) (1 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

lgs (1 match)

Ticket Summary Component Milestone Type Created
Description
#30 HorizontalBarChart does not properly display the axis labels component1 defect 03/24/09

Steps to reproduce: 1. Create a horizontal bar chart.

Expected outcome: The label axis should match the data.

Actual outcome: Although the bars are now horizontal, the axis labels have not changed. This means that the labels do not match the data.

http://www.lorenzogil.com/projects/pycha/browser/trunk/examples/hbarchart.png

The above image (front page of PyCha?) shows the problem. Notice how "lines" is the label for the files, and "files" is the label for the number of lines.

Proposed fix: I don't know if this is the correct fix, but I put a custom _renderAxis method in the HorizontalBarChart? class in bary.py that swaps the labels. It duplicates code, but it works.

We might want to create a separate _renderLabels method in chart.py that would get overwritten by HorizontalBarChart? class.


Note: See TracReports for help on using and creating reports.