|
|
@ -200,18 +200,15 @@ class Svg(object): |
|
|
|
plot=self.node( |
|
|
|
plot=self.node( |
|
|
|
self.graph.nodes['plot'], |
|
|
|
self.graph.nodes['plot'], |
|
|
|
class_='series serie-%d color-%d' % ( |
|
|
|
class_='series serie-%d color-%d' % ( |
|
|
|
serie.index, serie.index % len( |
|
|
|
serie.index, serie.index)), |
|
|
|
self.graph.style.colors))), |
|
|
|
|
|
|
|
overlay=self.node( |
|
|
|
overlay=self.node( |
|
|
|
self.graph.nodes['overlay'], |
|
|
|
self.graph.nodes['overlay'], |
|
|
|
class_='series serie-%d color-%d' % ( |
|
|
|
class_='series serie-%d color-%d' % ( |
|
|
|
serie.index, serie.index % len( |
|
|
|
serie.index, serie.index)), |
|
|
|
self.graph.style.colors))), |
|
|
|
|
|
|
|
text_overlay=self.node( |
|
|
|
text_overlay=self.node( |
|
|
|
self.graph.nodes['text_overlay'], |
|
|
|
self.graph.nodes['text_overlay'], |
|
|
|
class_='series serie-%d color-%d' % ( |
|
|
|
class_='series serie-%d color-%d' % ( |
|
|
|
serie.index, serie.index % len( |
|
|
|
serie.index, serie.index))) |
|
|
|
self.graph.style.colors)))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def line(self, node, coords, close=False, **kwargs): |
|
|
|
def line(self, node, coords, close=False, **kwargs): |
|
|
|
"""Draw a svg line""" |
|
|
|
"""Draw a svg line""" |
|
|
|