mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Upgraded Chart.js to v4. Updated charts.
This commit is contained in:
parent
3823705fc6
commit
c1d3e9ec67
11 changed files with 113 additions and 174 deletions
|
|
@ -50,7 +50,7 @@ async function relationalQuery(
|
|||
const { filterQuery, joinSession } = parseFilters(filters, params);
|
||||
|
||||
return rawQuery(
|
||||
`select ${getDateQuery('website_event.created_at', unit, timezone)} t,
|
||||
`select ${getDateQuery('website_event.created_at', unit, timezone)} x,
|
||||
count(${count !== '*' ? `${count}${sessionKey}` : count}) y
|
||||
from website_event
|
||||
${joinSession}
|
||||
|
|
@ -83,7 +83,7 @@ async function clickhouseQuery(
|
|||
|
||||
return rawQuery(
|
||||
`select
|
||||
${getDateStringQuery('g.t', unit)} as t,
|
||||
${getDateStringQuery('g.t', unit)} as x,
|
||||
g.y as y
|
||||
from
|
||||
(select
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue