diff --git a/pygal/graph/solidgauge.py b/pygal/graph/solidgauge.py index 57ce399..65cddfa 100644 --- a/pygal/graph/solidgauge.py +++ b/pygal/graph/solidgauge.py @@ -119,8 +119,11 @@ class Maxvalue(SolidGauge): @property def values(self): - return self.serie.values + try: + return [self.serie.metadata[0]['maxvalue']] + except: + return [self.serie.values[0] * 1.5] @property def title(self): - return self.serie.title \ No newline at end of file + return self.serie.title