Browse Source

Update solidgauge.py

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

5
pygal/graph/solidgauge.py

@ -119,7 +119,10 @@ 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):

Loading…
Cancel
Save