BarChart component.
This commit is contained in:
1 parent
5206622d5a
commit
5f47f328be
5 files changed
+373
-166
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user