Browse Source

change init range in client

pull/25/head
Alexey Velikiy 3 years ago
parent
commit
41d7d011d3
  1. 2
      client/src/components/hastic_pod/index.ts

2
client/src/components/hastic_pod/index.ts

@ -84,7 +84,7 @@ export class HasticPod extends LinePod {
public fetchData(): void {
let to = Math.floor(Date.now() / 1000);
let from = to - 5000; // -5000 seconds
let from = to - 50000; // -50000 seconds
if(this.state?.xValueRange !== undefined) {
[from, to] = this.state?.xValueRange;

Loading…
Cancel
Save