Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:eastein/chillmon

  • Loading branch information...
commit 9f8d00419b09f135e828260566cb3de86c720439 2 parents f4f1a88 + db8f901
@eastein authored
Showing with 20 additions and 6 deletions.
  1. +19 −5 interface.html
  2. +1 −1  web.py
View
24 interface.html
@@ -37,7 +37,18 @@
success: function(data) {
trace_set = data.data;
for (var tracetype in trace_set) {
- var tl = new SmoothieChart({ millisPerPixel: 4000, grid: { strokeStyle: '#555555', lineWidth: 1, millisPerLine: 300000, verticalSections: 4 }});
+ var tl = new SmoothieChart({
+ millisPerPixel: 5000,
+ grid: {
+ strokeStyle: '#555555',
+ lineWidth: 1,
+ millisPerLine: 300000,
+ verticalSections: 4
+ },
+ fps: 0.2,
+ interpolation: 'line',
+ scaleSmoothing: 1.0
+ });
traces = trace_set[tracetype];
for (var id in traces) {
setup_traces(tl, tracetype, traces[id], id);
@@ -92,16 +103,19 @@
<h1>Chillmon</h1>
<h4>Temps</h4>
- <canvas id="temps" width="900" height="200"></canvas>
+ <canvas id="temps" width="720" height="200"></canvas>
<h4>PID States</h4>
- <canvas id="pidstate" width="900" height="200"></canvas>
+ <canvas id="pidstate" width="720" height="200"></canvas>
<h4>Constants</h4>
- <canvas id="constants" width="900" height="200"></canvas>
+ <canvas id="constants" width="720" height="200"></canvas>
<h4>Errors</h4>
- <canvas id="errors" width="900" height="200"></canvas>
+ <canvas id="errors" width="720" height="200"></canvas>
+
+ <h4>Physical</h4>
+ <canvas id="physical" width="720" height="200"></canvas>
</body>
</html>
View
2  web.py
@@ -63,7 +63,7 @@ def run(self) :
samples.append((long(time.time() * 1000), msg))
self.samples = samples[-self.sample_cap:]
- time.sleep(1.0)
+ time.sleep(5.0)
class JSHandler(tornado.web.RequestHandler):
def get(self, fn):
Please sign in to comment.
Something went wrong with that request. Please try again.