]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Correct tooltip dates displaying incorrectly reported in #11229 (#11284)
authorMuhammad Khalikov <55890311+mukham12@users.noreply.github.com>
Fri, 19 May 2023 22:58:39 +0000 (18:58 -0400)
committerGitHub <noreply@github.com>
Fri, 19 May 2023 22:58:39 +0000 (00:58 +0200)
docs/samples/scales/time-combo.md

index 256a22be14eec3648c6e2cf16ae1e4c7049f70e8..0a84043f7a13fd682bfd2e2f5a4c24b18da9a885 100644 (file)
@@ -66,9 +66,12 @@ const config = {
         type: 'time',
         display: true,
         offset: true,
+        ticks: {
+          source: 'data'
+        },
         time: {
           unit: 'day'
-        }
+        },
       },
     },
   },