From 5465cfb444612ec87b33e40bdfdc7638e70b9c73 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Wed, 12 Oct 2022 14:48:49 +1100 Subject: Convert to represent dates instead of numbers - Add HistDate class - Adapt TimeLine and BaseLine to work with HistDates - For own-size-watching components, add onMounted() hook to run before ResizeObserver is set up --- src/components/TimeLine.vue | 382 ++++++++++++++++++++++++++++---------------- 1 file changed, 247 insertions(+), 135 deletions(-) (limited to 'src/components/TimeLine.vue') diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index bf886b1..7ed83d2 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -8,23 +8,26 @@ - - - {{Math.floor(n * 10) / 10}} - +