Browse Source

Update solidgauge.py

pull/295/head
Hektor Suhr 9 years ago
parent
commit
07fca1b6fe
  1. 7
      pygal/graph/solidgauge.py

7
pygal/graph/solidgauge.py

@ -119,8 +119,11 @@ class Maxvalue(SolidGauge):
@property @property
def values(self): def values(self):
return self.serie.values try:
return [self.serie.metadata[0]['maxvalue']]
except:
return [self.serie.values[0] * 1.5]
@property @property
def title(self): def title(self):
return self.serie.title return self.serie.title

Loading…
Cancel
Save