Skip to content

Commit 279eded

Browse files
committed
Added info about zooming.
1 parent f4d35c3 commit 279eded

File tree

1 file changed

+3
-3
lines changed
  • libraries/ESP8266WebServer/examples/Graph/data

1 file changed

+3
-3
lines changed

libraries/ESP8266WebServer/examples/Graph/data/index.htm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
// Limit its length to maxSamples
361361
data.splice(0, data.length - maxSamples);
362362
// Put stats in chart title
363-
heapChart.options.title.text = "Free heap (" + computeStats(data) + ")";
363+
heapChart.options.title.text = "Free heap (" + computeStats(data) + ") - use mouse wheel or pinch to zoom";
364364
// Remember smallest X
365365
var minX = data[0].x;
366366

@@ -370,7 +370,7 @@
370370
// Limit its length to maxSamples
371371
data.splice(0, data.length - maxSamples);
372372
// Put stats in chart title
373-
analogChart.options.title.text = "Analog input (" + computeStats(data) + ")";
373+
analogChart.options.title.text = "Analog input (" + computeStats(data) + ") - use mouse wheel or pinch to zoom";
374374
// Remember smallest X
375375
if (data[0].x < minX) minX = data[0].x;
376376

@@ -524,4 +524,4 @@
524524
fetchNewData();
525525

526526
</script>
527-
</html>
527+
</html>

0 commit comments

Comments
 (0)