kopia lustrzana https://github.com/bugout-dev/moonstream
Add hours resolution.
rodzic
0f4fb72ed7
commit
0261131771
|
@ -210,7 +210,7 @@ const Analytics = () => {
|
||||||
{name}
|
{name}
|
||||||
</Text>
|
</Text>
|
||||||
<SubscriptionReport
|
<SubscriptionReport
|
||||||
url={s3PresignedURLs.month}
|
url={s3PresignedURLs.week}
|
||||||
id={v4()}
|
id={v4()}
|
||||||
type={v4()}
|
type={v4()}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -19,11 +19,11 @@ const Report = ({ data }) => {
|
||||||
isInteractive={true}
|
isInteractive={true}
|
||||||
xScale={{
|
xScale={{
|
||||||
type: "time",
|
type: "time",
|
||||||
format: "%Y-%m-%d",
|
format: "%Y-%m-%d %H",
|
||||||
useUTC: false,
|
useUTC: false,
|
||||||
precision: "day",
|
precision: "hour",
|
||||||
}}
|
}}
|
||||||
xFormat="time:%Y-%m-%d"
|
xFormat="time:%Y-%m-%d %H"
|
||||||
yScale={{
|
yScale={{
|
||||||
type: "linear",
|
type: "linear",
|
||||||
}}
|
}}
|
||||||
|
|
Ładowanie…
Reference in New Issue