From 772677553401c842db83fa40cea1aaea93cae88b Mon Sep 17 00:00:00 2001 From: shunmugam Date: Thu, 17 Oct 2019 12:28:41 +0530 Subject: [PATCH] Fix tick --- src/app/view/home/graph-list/graph-list.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/view/home/graph-list/graph-list.component.ts b/src/app/view/home/graph-list/graph-list.component.ts index 97ee22e..7f9278c 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -1164,6 +1164,8 @@ export class GraphListComponent implements OnInit { rangemode: 'nonnegative', fixedrange: true, showgrid: true, + tick0:mDate[0], + dtick: 4*24*60*60*1000 }, yaxis: { title: 'Percentage(%)', @@ -1301,7 +1303,7 @@ export class GraphListComponent implements OnInit { rangemode: 'nonnegative', fixedrange: true, tick0:Tdate[0], - dtick: 3*24*60*60*1000 + dtick: 4*24*60*60*1000 }, yaxis: { showline: false,