From 41d7d011d3f03b50548cd0aabfc22cee6f05cff0 Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Tue, 2 Nov 2021 02:25:12 +0300 Subject: [PATCH] change init range in client --- client/src/components/hastic_pod/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/hastic_pod/index.ts b/client/src/components/hastic_pod/index.ts index 79f8f60..70fa140 100644 --- a/client/src/components/hastic_pod/index.ts +++ b/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;