Commit dc82ed84 authored by Kristian Tan's avatar Kristian Tan

Testing graph limit

parent 55d63c72
......@@ -93,7 +93,7 @@ def generate_graph_data():
if record.kwhUsed > max:
max = record.kwhUsed
count += 1
if count >= 7:
if count >= 5:
break
return labels, values, max
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment