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: else:
x = x_center x = x_center
y = y_center y = y_center
self._static_value( self._static_value(serie_node, val, x, y, metadata, "middle")
serie_node, val, x, y, metadata, "centered")
def bar(self, serie, rescale=False): def bar(self, serie, rescale=False):
"""Draw a bar graph for a serie""" """Draw a bar graph for a serie"""

Loading…
Cancel
Save