mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
BarChart component.
This commit is contained in:
parent
5206622d5a
commit
5f47f328be
5 changed files with 373 additions and 166 deletions
|
|
@ -76,14 +76,15 @@ export default function WebsiteChart({
|
|||
<div className="row">
|
||||
<CheckVisible className="col">
|
||||
{visible => (
|
||||
<PageviewsChart
|
||||
websiteId={websiteId}
|
||||
data={{ pageviews, uniques }}
|
||||
unit={unit}
|
||||
animationDuration={visible ? 300 : 0}
|
||||
>
|
||||
<>
|
||||
<PageviewsChart
|
||||
websiteId={websiteId}
|
||||
data={{ pageviews, uniques }}
|
||||
unit={unit}
|
||||
animationDuration={visible ? 300 : 0}
|
||||
/>
|
||||
<QuickButtons value={value} onChange={handleDateChange} />
|
||||
</PageviewsChart>
|
||||
</>
|
||||
)}
|
||||
</CheckVisible>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue