Browse Source

Fix bar static value positioning #315

pull/337/head
Florian Mounier 9 years ago
parent
commit
6948fce4a1
  1. 3
      pygal/graph/bar.py

3
pygal/graph/bar.py

@ -93,8 +93,7 @@ class Bar(Graph):
else:
x = x_center
y = y_center
self._static_value(
serie_node, val, x, y, metadata, "centered")
self._static_value(serie_node, val, x, y, metadata, "middle")
def bar(self, serie, rescale=False):
"""Draw a bar graph for a serie"""

Loading…
Cancel
Save