Add hours resolution.

pull/404/head
Andrey Dolgolev 2021-11-14 18:27:11 +02:00
rodzic 0f4fb72ed7
commit 0261131771
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -210,7 +210,7 @@ const Analytics = () => {
{name}
</Text>
<SubscriptionReport
url={s3PresignedURLs.month}
url={s3PresignedURLs.week}
id={v4()}
type={v4()}
/>

Wyświetl plik

@ -19,11 +19,11 @@ const Report = ({ data }) => {
isInteractive={true}
xScale={{
type: "time",
format: "%Y-%m-%d",
format: "%Y-%m-%d %H",
useUTC: false,
precision: "day",
precision: "hour",
}}
xFormat="time:%Y-%m-%d"
xFormat="time:%Y-%m-%d %H"
yScale={{
type: "linear",
}}