From 89c24a1af5f214f3b299a1eb95fb890e78e56934 Mon Sep 17 00:00:00 2001 From: cuobiezi Date: Sat, 9 Nov 2024 11:35:31 +0800 Subject: [PATCH] #4763 bugfix Display error Date when set labels for xaxis --- src/modules/TimeScale.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/TimeScale.js b/src/modules/TimeScale.js index 0d7f5dbc1..8c0d1c061 100644 --- a/src/modules/TimeScale.js +++ b/src/modules/TimeScale.js @@ -635,6 +635,8 @@ class TimeScale { hour = 0 date += 1 unit = 'day' + // Unit changed to day , Value should align unit + firstTickValue = date } const checkNextMonth = changeDate(date, currentMonth)