Ticket #12 (closed defect: invalid)
Bug with data scaling?
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | trivial | Version: | |
| Keywords: | Cc: |
Description
I recently switched from 0.2.0 to 0.2.1 and some of my charts are now displaying differently, here is an example:
chart = StackedHorizontalBarChart(270, 20) chart.set_colours(['fb7e01', 'f8f8f8']) chart.add_data([50]) chart.add_data([100]) print chart.get_url()
0.2.0
http://chart.apis.google.com/chart?cht=bhs&chs=270x20&chd=s:f,9&chco=fb7e01,f8f8f8
0.2.1
http://chart.apis.google.com/chart?cht=bhs&chs=270x20&chd=s:A,9&chco=fb7e01,f8f8f8
Based on the outputted chart, the 0.2.0 versions produces the intended result. If this is not a data scaling bug, I would appreciate a hint how to achieve the output of the 0.2.0 version with 0.2.1
Attachments
Change History
Note: See
TracTickets for help on using
tickets.