Browse Source

add note

merge-requests/13/head
vargburz 3 years ago
parent
commit
78b18a15d0
  1. 2
      examples/demo_live.html

2
examples/demo_live.html

@ -14,7 +14,7 @@
<script type="text/javascript">
const startTime = 1590590148;
const arrayLength = 100;
this.isZoomed = false;
this.isZoomed = false; // TODO: temporary hack to have zoomin|zoomout with `appendData`. It will be moved to Pod.
const data1 = Array.from({ length: arrayLength }, (el, idx) => [startTime + idx * 10000, Math.floor(Math.random() * 40)]);
const data2 = Array.from({ length: arrayLength }, (el, idx) => [startTime + idx * 10000, Math.floor(Math.random() * 100)]);
const data3 = Array.from({ length: arrayLength }, (el, idx) => [startTime + idx * 10000, Math.floor(Math.random() * 20) + 90]);

Loading…
Cancel
Save