From e6a9cb64e219adf2d5cf4790c6c6a1e128df54d2 Mon Sep 17 00:00:00 2001 From: shunmugam Date: Thu, 17 Oct 2019 12:21:56 +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 d36ec5f..97ee22e 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -1296,10 +1296,12 @@ export class GraphListComponent implements OnInit { height: 250, xaxis: { showgrid: true, - zeroline: true, + zeroline: false, tickformat: '%m-%d', rangemode: 'nonnegative', fixedrange: true, + tick0:Tdate[0], + dtick: 3*24*60*60*1000 }, yaxis: { showline: false,