624
624
def markers_to_url(self):
625
625
return 'chm=%s' % '|'.join([','.join(a) for a in self.markers])
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), \
631
631
def add_horizontal_range(self, colour, start, stop):
632
632
self.markers.append(('r', colour, '1', str(start), str(stop)))