Exemple #1
0
 def markerfill(self):
     # Fill the chart areas with markers
     G = Line([
         '99', 'cefhjkqwrlgYcfgc', 'QSSVXXdkfZUMRTUQ', 'HJJMOOUbVPKDHKLH',
         'AA'
     ])
     G.marker('b', '76A4FB', 0, 1, 0)
     G.marker('b', '224499', 1, 2, 0)
     G.marker('b', 'FF0000', 2, 3, 0)
     G.marker('B', '80C65A', 3, 4, 0)
     return G
Exemple #2
0
 def markers(self):
     # Mark up some of the data randomly
     G = Line(['helloWorld'])
     G.marker('c', 'ff0000', 0, 3, 20)
     G.marker('d', '00ff00', 0, 6, 15)
     G.marker('a', '000099', 0, 4, 10)
     G.marker('R', 'A0BAE9', 0, 8, 0.6)
     G.marker('r', 'E5ECF9', 0, 1, 0.25)
     return G