/+junk/pygooglechart-py3k

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/pygooglechart-py3k

« back to all changes in this revision

Viewing changes to pygooglechart.py

  • Committer: gak
  • Date: 2007-12-13 23:35:29 UTC
  • Revision ID: git-v1:90951c208c1b0ec6112cd85aacaa15eb2bf8b689
Fixed set_axis_labels to work with spaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
# Helper variables and functions
31
31
# -----------------------------------------------------------------------------
32
32
 
33
 
__version__ = '0.1.2'
34
 
 
35
33
reo_colour = re.compile('^([A-Fa-f0-9]{2,2}){3,4}$')
36
34
 
37
35
 
630
628
        self.pie_labels = []
631
629
 
632
630
    def set_pie_labels(self, labels):
633
 
        self.pie_labels = [urllib.quote(a) for a in labels]
 
631
        self.pie_labels = labels
634
632
 
635
633
    def get_url_bits(self):
636
634
        url_bits = Chart.get_url_bits(self)