You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bar chart consists of two client components, DayBarChart and DayBarChartInner.
DayBarChart uses useMeasure to determine the size of the div while DayBarChartInner is the actual chart. The prop today refers to the current day (Mon/Tue) the chart is showing data for. If today happens to be what day it is, then there is a bar with a the live percentage. This bar is not grey. today should be changed to something like currentDayHour
To do:
change today to something like currentDayHour
don't assume that the last record is the live data, instead, find it using the records list or take it as a prop
The text was updated successfully, but these errors were encountered:
The bar chart consists of two client components,
DayBarChart
andDayBarChartInner
.DayBarChart
usesuseMeasure
to determine the size of the div whileDayBarChartInner
is the actual chart. The proptoday
refers to the current day (Mon/Tue) the chart is showing data for. Iftoday
happens to be what day it is, then there is a bar with a the live percentage. This bar is not grey.today
should be changed to something likecurrentDayHour
To do:
today
to something likecurrentDayHour
The text was updated successfully, but these errors were encountered: