Browse Source

Set a default size of 0 for tooltip

pull/8/head
Guillaume Ayoub 13 years ago
parent
commit
3ed420e796
  1. 2
      pygal/graph/graph.py

2
pygal/graph/graph.py

@ -92,7 +92,7 @@ class Graph(BaseGraph):
a = self.svg.node(self.nodes['tooltip'], 'a')
self.svg.node(a, 'rect',
id="tooltip-box",
rx=5, ry=5,
rx=5, ry=5, width=0, height=0
)
text = self.svg.node(a, 'text', class_='text')
self.svg.node(text, 'tspan', class_='label')

Loading…
Cancel
Save