Fixed bar chart rendering.

This commit is contained in:
Mike Cao 2025-06-18 21:31:42 -07:00
parent 96fcdefeed
commit 3a737e7e25
5 changed files with 47 additions and 15 deletions

View file

@ -76,7 +76,7 @@ async function clickhouseQuery(
from (
select
${getDateSQL('website_event.created_at', unit, timezone)} as t,
sum(views)as y
sum(views) as y
from website_event_stats_hourly website_event
where website_id = {websiteId:UUID}
and created_at between {startDate:DateTime64} and {endDate:DateTime64}