/+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: 2008-04-26 04:24:59 UTC
  • Revision ID: git-v1:98b3765e15c0a4863a4c214020790ce8f6e2b036
Added priority to shape markers

Show diffs side-by-side

added added

removed removed

Lines of Context:
624
624
    def markers_to_url(self):
625
625
        return 'chm=%s' % '|'.join([','.join(a) for a in self.markers])
626
626
 
627
 
    def add_marker(self, index, point, marker_type, colour, size):
 
627
    def add_marker(self, index, point, marker_type, colour, size, priority=0):
628
628
        self.markers.append((marker_type, colour, str(index), str(point), \
629
 
            str(size)))
 
629
            str(size), str(priority)))
630
630
 
631
631
    def add_horizontal_range(self, colour, start, stop):
632
632
        self.markers.append(('r', colour, '1', str(start), str(stop)))